Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
0bed6fc3
Commit
0bed6fc3
authored
Feb 01, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix overriden variables.
parent
16d47626
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
modules/demux/ps.h
modules/demux/ps.h
+0
-2
modules/demux/vobsub.c
modules/demux/vobsub.c
+1
-2
No files found.
modules/demux/ps.h
View file @
0bed6fc3
...
@@ -559,8 +559,6 @@ static inline int ps_psm_fill( ps_psm_t *p_psm, block_t *p_pkt,
...
@@ -559,8 +559,6 @@ static inline int ps_psm_fill( ps_psm_t *p_psm, block_t *p_pkt,
es
.
i_descriptor
=
i_info_length
;
es
.
i_descriptor
=
i_info_length
;
if
(
i_info_length
>
0
)
if
(
i_info_length
>
0
)
{
{
int
i
=
0
;
es
.
p_descriptor
=
malloc
(
i_info_length
);
es
.
p_descriptor
=
malloc
(
i_info_length
);
if
(
es
.
p_descriptor
)
if
(
es
.
p_descriptor
)
{
{
...
...
modules/demux/vobsub.c
View file @
0bed6fc3
...
@@ -472,7 +472,6 @@ static int ParseVobSubIDX( demux_t *p_demux )
...
@@ -472,7 +472,6 @@ static int ParseVobSubIDX( demux_t *p_demux )
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
text_t
*
txt
=
&
p_sys
->
txt
;
text_t
*
txt
=
&
p_sys
->
txt
;
char
*
line
;
char
*
line
;
vobsub_track_t
*
current_tk
=
NULL
;
for
(
;;
)
for
(
;;
)
{
{
...
@@ -549,7 +548,7 @@ static int ParseVobSubIDX( demux_t *p_demux )
...
@@ -549,7 +548,7 @@ static int ParseVobSubIDX( demux_t *p_demux )
p_sys
->
track
=
realloc
(
p_sys
->
track
,
sizeof
(
vobsub_track_t
)
*
(
p_sys
->
i_tracks
+
1
)
);
p_sys
->
track
=
realloc
(
p_sys
->
track
,
sizeof
(
vobsub_track_t
)
*
(
p_sys
->
i_tracks
+
1
)
);
/* Init the track */
/* Init the track */
current_tk
=
&
p_sys
->
track
[
p_sys
->
i_tracks
-
1
];
vobsub_track_t
*
current_tk
=
&
p_sys
->
track
[
p_sys
->
i_tracks
-
1
];
memset
(
current_tk
,
0
,
sizeof
(
vobsub_track_t
)
);
memset
(
current_tk
,
0
,
sizeof
(
vobsub_track_t
)
);
current_tk
->
i_current_subtitle
=
0
;
current_tk
->
i_current_subtitle
=
0
;
current_tk
->
i_subtitles
=
0
;
current_tk
->
i_subtitles
=
0
;
...
...
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