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
f133cc09
Commit
f133cc09
authored
Nov 17, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gvp: remove unused p_sys
parent
81bfc63e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
24 deletions
+1
-24
modules/demux/playlist/gvp.c
modules/demux/playlist/gvp.c
+0
-23
modules/demux/playlist/playlist.c
modules/demux/playlist/playlist.c
+1
-1
No files found.
modules/demux/playlist/gvp.c
View file @
f133cc09
...
...
@@ -59,11 +59,6 @@ description:The now infamous Apple Macintosh commercial aired during the 1984 Su
#define MAX_LINE 1024
struct
demux_sys_t
{
input_item_t
*
p_current_input
;
};
/*****************************************************************************
* Local prototypes
*****************************************************************************/
...
...
@@ -95,28 +90,12 @@ int Import_GVP( vlc_object_t *p_this )
msg_Dbg
(
p_this
,
"using Google Video Playlist (gvp) import"
);
p_demux
->
pf_control
=
Control
;
p_demux
->
pf_demux
=
Demux
;
p_demux
->
p_sys
=
malloc
(
sizeof
(
demux_sys_t
)
);
if
(
!
p_demux
->
p_sys
)
return
VLC_ENOMEM
;
return
VLC_SUCCESS
;
}
/*****************************************************************************
* Deactivate: frees unused data
*****************************************************************************/
void
Close_GVP
(
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
);
}
static
int
Demux
(
demux_t
*
p_demux
)
{
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
char
*
psz_line
;
char
*
psz_attrvalue
;
...
...
@@ -131,8 +110,6 @@ static int Demux( demux_t *p_demux )
input_item_node_t
*
p_subitems
=
input_item_node_Create
(
p_current_input
);
p_sys
->
p_current_input
=
p_current_input
;
while
(
(
psz_line
=
stream_ReadLine
(
p_demux
->
s
)
)
)
{
if
(
*
psz_line
==
'#'
)
...
...
modules/demux/playlist/playlist.c
View file @
f133cc09
...
...
@@ -124,7 +124,7 @@ vlc_module_begin ()
set_description
(
N_
(
"Google Video Playlist importer"
)
)
add_shortcut
(
"playlist"
,
"gvp"
)
set_capability
(
"demux"
,
10
)
set_callbacks
(
Import_GVP
,
Close_GVP
)
set_callbacks
(
Import_GVP
,
NULL
)
add_submodule
()
set_description
(
N_
(
"Dummy IFO demux"
)
)
add_shortcut
(
"playlist"
)
...
...
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