[vlc-devel] [PATCH] dvdnav cannot be trusted to open regular =?iso-8859-1?q?files=09?=(fix #4741)

Rémi Denis-Courmont remi at remlab.net
Sat May 7 18:47:16 CEST 2011


Le samedi 7 mai 2011 19:39:40 Juha Jeronen, vous avez écrit :
> This breaks support for DVD disc images (which I suppose is the whole
> point of having dvdnav check regular files).

Of course. There are plenty of valid non-DVD files that have \x00\x02 at that 
offset. Checking a two bytes magic might work at offset 0, but not any 
further.

In my case, I'm getting the failure on valid Ogg Vorbis.

-- 
Rémi Denis-Courmont
http://www.remlab.info/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list