Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
c6a6149e
Commit
c6a6149e
authored
Jul 04, 2006
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/demux/mkv.cpp: fixed a pointer cast bug.
parent
868ae7e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+10
-5
No files found.
modules/demux/mkv.cpp
View file @
c6a6149e
...
...
@@ -5264,18 +5264,23 @@ 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
)
{
EbmlBinary
*
p_tmp
;
if
(
p_item_a
==
NULL
||
p_item_b
==
NULL
)
return
false
;
EbmlBinary
*
p_itema
=
(
EbmlBinary
*
)(
p_item_a
->
p_segment_uid
);
if
(
p_item_b
->
p_prev_segment_uid
!=
NULL
&&
*
p_itema
==
*
p_item_b
->
p_prev_segment_uid
)
p_tmp
=
(
EbmlBinary
*
)
p_item_a
->
p_segment_uid
;
if
(
p_item_b
->
p_prev_segment_uid
!=
NULL
&&
*
p_tmp
==
*
p_item_b
->
p_prev_segment_uid
)
return
true
;
p_itema
=
(
EbmlBinary
*
)(
&
p_item_a
->
p_next_segment_uid
);
if
(
p_item_b
->
p_segment_uid
!=
NULL
&&
*
p_itema
==
*
p_item_b
->
p_segment_uid
)
p_tmp
=
(
EbmlBinary
*
)
p_item_a
->
p_next_segment_uid
;
if
(
p_item_b
->
p_segment_uid
!=
NULL
&&
*
p_tmp
==
*
p_item_b
->
p_segment_uid
)
return
true
;
if
(
p_item_b
->
p_prev_segment_uid
!=
NULL
&&
*
p_itema
==
*
p_item_b
->
p_prev_segment_uid
)
if
(
p_item_b
->
p_prev_segment_uid
!=
NULL
&&
*
p_tmp
==
*
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