Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
dbf34c07
Commit
dbf34c07
authored
Feb 16, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: remove dead code and malloc(0)
parent
9b65068e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
19 deletions
+5
-19
modules/demux/playlist/asx.c
modules/demux/playlist/asx.c
+4
-17
modules/demux/playlist/playlist.c
modules/demux/playlist/playlist.c
+1
-1
modules/demux/playlist/playlist.h
modules/demux/playlist/playlist.h
+0
-1
No files found.
modules/demux/playlist/asx.c
View file @
dbf34c07
...
...
@@ -41,10 +41,6 @@
#include "playlist.h"
struct
demux_sys_t
{
};
/*****************************************************************************
* Local prototypes
*****************************************************************************/
...
...
@@ -158,23 +154,14 @@ int Import_ASX( vlc_object_t *p_this )
)
||
demux_IsForced
(
p_demux
,
"asx-open"
)
)
{
STANDARD_DEMUX_INIT_MSG
(
"found valid ASX playlist"
);
return
VLC_SUCCESS
;
msg_Dbg
(
p_demux
,
"found valid ASX playlist"
);
}
else
return
VLC_EGENERIC
;
}
/*****************************************************************************
* Deactivate: frees unused data
*****************************************************************************/
void
Close_ASX
(
vlc_object_t
*
p_this
)
{
demux_t
*
p_demux
=
(
demux_t
*
)
p_this
;
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
free
(
p_sys
);
p_demux
->
pf_control
=
Control
;
p_demux
->
pf_demux
=
Demux
;
return
VLC_SUCCESS
;
}
static
void
ProcessEntry
(
int
*
pi_n_entry
,
xml_reader_t
*
p_xml_reader
,
...
...
modules/demux/playlist/playlist.c
View file @
dbf34c07
...
...
@@ -109,7 +109,7 @@ vlc_module_begin ()
set_description
(
N_
(
"ASX playlist import"
)
)
add_shortcut
(
"playlist"
,
"asx-open"
)
set_capability
(
"demux"
,
10
)
set_callbacks
(
Import_ASX
,
Close_ASX
)
set_callbacks
(
Import_ASX
,
NULL
)
add_submodule
()
set_description
(
N_
(
"Kasenna MediaBase parser"
)
)
add_shortcut
(
"playlist"
,
"sgimb"
)
...
...
modules/demux/playlist/playlist.h
View file @
dbf34c07
...
...
@@ -53,7 +53,6 @@ void Close_xspf ( vlc_object_t * );
int
Import_Shoutcast
(
vlc_object_t
*
);
int
Import_ASX
(
vlc_object_t
*
);
void
Close_ASX
(
vlc_object_t
*
);
int
Import_SGIMB
(
vlc_object_t
*
);
void
Close_SGIMB
(
vlc_object_t
*
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment