[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.

François Revol revol at free.fr
Thu May 12 10:42:49 CEST 2011


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.

François.



More information about the ffmpeg-devel mailing list