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
fbd8c12f
Commit
fbd8c12f
authored
Sep 01, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dvdread: avoid a nasty crash.
parent
4b80f777
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/access/dvdread.c
modules/access/dvdread.c
+4
-0
No files found.
modules/access/dvdread.c
View file @
fbd8c12f
...
...
@@ -801,6 +801,10 @@ static int DvdReadSetArea( demux_t *p_demux, int i_title, int i_chapter,
/* Title position inside the selected vts */
p_sys
->
i_ttn
=
p_vmg
->
tt_srpt
->
title
[
i_title
].
vts_ttn
;
msg_Dbg
(
p_demux
,
"%i"
,
p_sys
->
i_ttn
);
if
(
p_sys
->
i_ttn
<
1
)
return
VLC_EGENERIC
;
/* Couldn't set title */
/* Find title start/end */
pgc_id
=
p_vts
->
vts_ptt_srpt
->
title
[
p_sys
->
i_ttn
-
1
].
ptt
[
0
].
pgcn
;
pgn
=
p_vts
->
vts_ptt_srpt
->
title
[
p_sys
->
i_ttn
-
1
].
ptt
[
0
].
pgn
;
...
...
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