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
e3ae97a1
Commit
e3ae97a1
authored
Jul 02, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ttml: remove unused XML validator
parent
86ac78e2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
modules/demux/ttml.c
modules/demux/ttml.c
+1
-11
No files found.
modules/demux/ttml.c
View file @
e3ae97a1
...
@@ -55,7 +55,6 @@ typedef struct
...
@@ -55,7 +55,6 @@ typedef struct
struct
demux_sys_t
struct
demux_sys_t
{
{
xml_t
*
p_xml
;
xml_reader_t
*
p_reader
;
xml_reader_t
*
p_reader
;
subtitle_t
*
subtitle
;
subtitle_t
*
subtitle
;
es_out_id_t
*
p_es
;
es_out_id_t
*
p_es
;
...
@@ -283,14 +282,7 @@ static int Open( vlc_object_t* p_this )
...
@@ -283,14 +282,7 @@ static int Open( vlc_object_t* p_this )
if
(
unlikely
(
p_sys
==
NULL
)
)
if
(
unlikely
(
p_sys
==
NULL
)
)
return
VLC_ENOMEM
;
return
VLC_ENOMEM
;
p_sys
->
p_xml
=
xml_Create
(
p_demux
);
p_sys
->
p_reader
=
xml_ReaderCreate
(
p_this
,
p_demux
->
s
);
if
(
!
p_sys
->
p_xml
)
{
Close
(
p_demux
);
return
VLC_EGENERIC
;
}
p_sys
->
p_reader
=
xml_ReaderCreate
(
p_sys
->
p_xml
,
p_demux
->
s
);
if
(
!
p_sys
->
p_reader
)
if
(
!
p_sys
->
p_reader
)
{
{
Close
(
p_demux
);
Close
(
p_demux
);
...
@@ -326,8 +318,6 @@ static void Close( demux_t* p_demux )
...
@@ -326,8 +318,6 @@ static void Close( demux_t* p_demux )
es_out_Del
(
p_demux
->
out
,
p_sys
->
p_es
);
es_out_Del
(
p_demux
->
out
,
p_sys
->
p_es
);
if
(
p_sys
->
p_reader
)
if
(
p_sys
->
p_reader
)
xml_ReaderDelete
(
p_sys
->
p_reader
);
xml_ReaderDelete
(
p_sys
->
p_reader
);
if
(
p_sys
->
p_xml
)
xml_Delete
(
p_sys
->
p_xml
);
for
(
int
i
=
0
;
i
<
p_sys
->
i_subtitles
;
++
i
)
for
(
int
i
=
0
;
i
<
p_sys
->
i_subtitles
;
++
i
)
{
{
free
(
p_sys
->
subtitle
[
i
].
psz_text
);
free
(
p_sys
->
subtitle
[
i
].
psz_text
);
...
...
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