Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
67eea3ed
Commit
67eea3ed
authored
May 20, 2007
by
Yoann Peronneau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* xspf.c: initializes identifier to 0 and free pp_tracklist
parent
6da67eef
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
modules/demux/playlist/xspf.c
modules/demux/playlist/xspf.c
+9
-8
No files found.
modules/demux/playlist/xspf.c
View file @
67eea3ed
...
...
@@ -60,7 +60,8 @@ int E_(Import_xspf)( vlc_object_t *p_this )
void
E_
(
Close_xspf
)(
vlc_object_t
*
p_this
)
{
demux_t
*
p_demux
=
(
demux_t
*
)
p_this
;
FREENULL
(
p_demux
->
p_sys
->
psz_base
);
FREENULL
(
p_demux
->
p_sys
->
pp_tracklist
);
FREENULL
(
p_demux
->
p_sys
->
psz_base
);
free
(
p_demux
->
p_sys
);
}
...
...
@@ -77,7 +78,7 @@ int Demux( demux_t *p_demux )
p_demux
->
p_sys
->
p_item_in_category
=
p_item_in_category
;
p_demux
->
p_sys
->
pp_tracklist
=
NULL
;
p_demux
->
p_sys
->
i_tracklist_entries
=
0
;
p_demux
->
p_sys
->
i_identifier
=
-
1
;
p_demux
->
p_sys
->
i_identifier
=
0
;
p_demux
->
p_sys
->
psz_base
=
NULL
;
/* create new xml parser from stream */
...
...
@@ -152,7 +153,7 @@ static vlc_bool_t parse_playlist_node COMPLEX_INTERFACE
xml_elem_hnd_t
pl_elements
[]
=
{
{
"title"
,
SIMPLE_CONTENT
,
{.
smpl
=
set_item_info
}
},
{
"creator"
,
SIMPLE_CONTENT
,
{.
smpl
=
set_item_info
}
},
{
"annotation"
,
SIMPLE_CONTENT
,
{
NULL
}
},
{
"annotation"
,
SIMPLE_CONTENT
,
{
.
smpl
=
set_item_info
}
},
{
"info"
,
SIMPLE_CONTENT
,
{
NULL
}
},
{
"location"
,
SIMPLE_CONTENT
,
{
NULL
}
},
{
"identifier"
,
SIMPLE_CONTENT
,
{
NULL
}
},
...
...
@@ -385,7 +386,7 @@ static vlc_bool_t parse_track_node COMPLEX_INTERFACE
{
"identifier"
,
SIMPLE_CONTENT
,
{
NULL
}
},
{
"title"
,
SIMPLE_CONTENT
,
{.
smpl
=
set_item_info
}
},
{
"creator"
,
SIMPLE_CONTENT
,
{.
smpl
=
set_item_info
}
},
{
"annotation"
,
SIMPLE_CONTENT
,
{
NULL
}
},
{
"annotation"
,
SIMPLE_CONTENT
,
{
.
smpl
=
set_item_info
}
},
{
"info"
,
SIMPLE_CONTENT
,
{
NULL
}
},
{
"image"
,
SIMPLE_CONTENT
,
{
NULL
}
},
{
"album"
,
SIMPLE_CONTENT
,
{.
smpl
=
set_item_info
}
},
...
...
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