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
69af053b
Commit
69af053b
authored
Aug 09, 2014
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DVDnav: kill a warning on read return
parent
f34e491c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/access/dvdnav.c
modules/access/dvdnav.c
+1
-1
No files found.
modules/access/dvdnav.c
View file @
69af053b
...
@@ -1469,7 +1469,7 @@ static int ProbeDVD( const char *psz_name )
...
@@ -1469,7 +1469,7 @@ static int ProbeDVD( const char *psz_name )
/* ISO 9660 volume descriptor */
/* ISO 9660 volume descriptor */
char
iso_dsc
[
6
];
char
iso_dsc
[
6
];
if
(
lseek
(
fd
,
0x8000
+
1
,
SEEK_SET
)
==
-
1
if
(
lseek
(
fd
,
0x8000
+
1
,
SEEK_SET
)
==
-
1
||
read
(
fd
,
iso_dsc
,
sizeof
(
iso_dsc
)
)
<
sizeof
(
iso_dsc
)
||
read
(
fd
,
iso_dsc
,
sizeof
(
iso_dsc
)
)
<
(
int
)
sizeof
(
iso_dsc
)
||
memcmp
(
iso_dsc
,
"CD001
\x01
"
,
6
)
)
||
memcmp
(
iso_dsc
,
"CD001
\x01
"
,
6
)
)
goto
bailout
;
goto
bailout
;
...
...
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