Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libdvdnav
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VideoLAN
libdvdnav
Commits
feb09c35
Commit
feb09c35
authored
Oct 23, 2014
by
Jon Fether
Committed by
Jean-Baptiste Kempf
Nov 06, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check for null program_map
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
f90fa9e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
searching.c
src/searching.c
+5
-0
No files found.
src/searching.c
View file @
feb09c35
...
...
@@ -587,6 +587,11 @@ dvdnav_status_t dvdnav_get_position_in_title(dvdnav_t *this,
return
DVDNAV_STATUS_ERR
;
}
if
(
state
->
pgc
->
program_map
==
NULL
)
{
printerr
(
"Program map missing."
);
return
DVDNAV_STATUS_ERR
;
}
/* Get current sector */
cur_sector
=
this
->
vobu
.
vobu_start
+
this
->
vobu
.
blockN
;
...
...
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