vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Sat Aug 9 21:49:01 2014 +0200| [69af053b09a3109eb9c39180839e0155fa504a0f] | committer: Jean-Baptiste Kempf
DVDnav: kill a warning on read return > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=69af053b09a3109eb9c39180839e0155fa504a0f --- modules/access/dvdnav.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/access/dvdnav.c b/modules/access/dvdnav.c index 1ba59e2..826179e 100644 --- a/modules/access/dvdnav.c +++ b/modules/access/dvdnav.c @@ -1469,7 +1469,7 @@ static int ProbeDVD( const char *psz_name ) /* ISO 9660 volume descriptor */ char iso_dsc[6]; 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 ) ) goto bailout; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
