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
934582e4
Commit
934582e4
authored
Feb 17, 2012
by
Denis Charmet
Committed by
Jean-Baptiste Kempf
Feb 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid a crash if there are duplicated files in dir
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
273beab3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/demux/mkv/demux.cpp
modules/demux/mkv/demux.cpp
+2
-2
No files found.
modules/demux/mkv/demux.cpp
View file @
934582e4
...
@@ -528,10 +528,10 @@ matroska_stream_c *demux_sys_t::AnalyseAllSegmentsFound( demux_t *p_demux, EbmlS
...
@@ -528,10 +528,10 @@ matroska_stream_c *demux_sys_t::AnalyseAllSegmentsFound( demux_t *p_demux, EbmlS
{
{
KaxSegmentUID
*
p_uid
=
static_cast
<
KaxSegmentUID
*>
(
l
);
KaxSegmentUID
*
p_uid
=
static_cast
<
KaxSegmentUID
*>
(
l
);
b_keep_segment
=
(
FindSegment
(
*
p_uid
)
==
NULL
);
b_keep_segment
=
(
FindSegment
(
*
p_uid
)
==
NULL
);
if
(
!
b_keep_segment
)
break
;
// this segment is already known
delete
p_segment1
->
p_segment_uid
;
delete
p_segment1
->
p_segment_uid
;
p_segment1
->
p_segment_uid
=
new
KaxSegmentUID
(
*
p_uid
);
p_segment1
->
p_segment_uid
=
new
KaxSegmentUID
(
*
p_uid
);
if
(
!
b_keep_segment
)
break
;
// this segment is already known
}
}
else
if
(
MKV_IS_ID
(
l
,
KaxPrevUID
)
)
else
if
(
MKV_IS_ID
(
l
,
KaxPrevUID
)
)
{
{
...
...
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