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
8fd5f21d
Commit
8fd5f21d
authored
Sep 03, 2005
by
Steve Lhomme
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fix an uninitialized buffer use
parent
f36ca544
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+6
-3
No files found.
modules/demux/mkv.cpp
View file @
8fd5f21d
...
...
@@ -5031,15 +5031,18 @@ void demux_sys_t::JumpTo( virtual_segment_c & vsegment, chapter_item_c * p_chapt
bool
matroska_segment_c
::
CompareSegmentUIDs
(
const
matroska_segment_c
*
p_item_a
,
const
matroska_segment_c
*
p_item_b
)
{
if
(
p_item_a
==
NULL
||
p_item_b
==
NULL
)
return
false
;
EbmlBinary
*
p_itema
=
(
EbmlBinary
*
)(
p_item_a
->
p_segment_uid
);
if
(
*
p_itema
==
*
p_item_b
->
p_prev_segment_uid
)
if
(
p_item_b
->
p_prev_segment_uid
!=
NULL
&&
*
p_itema
==
*
p_item_b
->
p_prev_segment_uid
)
return
true
;
p_itema
=
(
EbmlBinary
*
)(
&
p_item_a
->
p_next_segment_uid
);
if
(
*
p_itema
==
*
p_item_b
->
p_segment_uid
)
if
(
p_item_b
->
p_segment_uid
!=
NULL
&&
*
p_itema
==
*
p_item_b
->
p_segment_uid
)
return
true
;
if
(
*
p_itema
==
*
p_item_b
->
p_prev_segment_uid
)
if
(
p_item_b
->
p_prev_segment_uid
!=
NULL
&&
*
p_itema
==
*
p_item_b
->
p_prev_segment_uid
)
return
true
;
return
false
;
...
...
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