[FFmpeg-devel] [PATCH] If a MP3 file contains the string NSVs, the NSV probe will think it is a NSV file instead of a MP3 file. Check for 0xBEEF after a Video/Audio chunck for more accuracy.

Michael Niedermayer michaelni at gmx.at
Thu May 12 13:42:51 CEST 2011

On Thu, May 12, 2011 at 10:42:49AM +0200, François Revol wrote:
> Le 12 mai 2011 à 01:36, Thierry Foucu a écrit :
> > 
> > diff --git a/libavformat/nsvdec.c b/libavformat/nsvdec.c
> > index 4b294d3..300a8fd 100644
> > --- a/libavformat/nsvdec.c
> > +++ b/libavformat/nsvdec.c
> Didn't test, but sounds reasonable to me, nsv is so dumb that there is not much more we can do to make the detection more robust.

ok, applied

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110512/ff0a6faf/attachment.asc>

More information about the ffmpeg-devel mailing list