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
61ead2d3
Commit
61ead2d3
authored
Feb 05, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "fix overriden variables."
This reverts commit
0bed6fc3
. It is broken (at least for ps).
parent
dd2c4d44
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
modules/demux/ps.h
modules/demux/ps.h
+2
-0
modules/demux/vobsub.c
modules/demux/vobsub.c
+2
-1
No files found.
modules/demux/ps.h
View file @
61ead2d3
...
...
@@ -559,6 +559,8 @@ static inline int ps_psm_fill( ps_psm_t *p_psm, block_t *p_pkt,
es
.
i_descriptor
=
i_info_length
;
if
(
i_info_length
>
0
)
{
int
i
=
0
;
es
.
p_descriptor
=
malloc
(
i_info_length
);
if
(
es
.
p_descriptor
)
{
...
...
modules/demux/vobsub.c
View file @
61ead2d3
...
...
@@ -472,6 +472,7 @@ static int ParseVobSubIDX( demux_t *p_demux )
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
text_t
*
txt
=
&
p_sys
->
txt
;
char
*
line
;
vobsub_track_t
*
current_tk
=
NULL
;
for
(
;;
)
{
...
...
@@ -548,7 +549,7 @@ static int ParseVobSubIDX( demux_t *p_demux )
p_sys
->
track
=
realloc
(
p_sys
->
track
,
sizeof
(
vobsub_track_t
)
*
(
p_sys
->
i_tracks
+
1
)
);
/* Init the track */
vobsub_track_t
*
current_tk
=
&
p_sys
->
track
[
p_sys
->
i_tracks
-
1
];
current_tk
=
&
p_sys
->
track
[
p_sys
->
i_tracks
-
1
];
memset
(
current_tk
,
0
,
sizeof
(
vobsub_track_t
)
);
current_tk
->
i_current_subtitle
=
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