[FFmpeg-devel] Crash on an MP3 fle

Gabriel Forté gforte
Tue Oct 16 21:48:07 CEST 2007

On Sat, Oct 13, 2007 at 05:55:23PM +0100, M?ns Rullg?rd wrote:
> Ronen Mizrahi <ronen at tversity.com> writes:
> > ffmpeg should not crash.
> My FFmpeg doesn't crash, although it does misdetect the file as MPEGPS.


I've already encountered several MP3 files like this (most notably, but
not limited to, files generated by some windows program called "EasyCD Creator").

it's apparently because they're containing around 300 to 400 null bytes
at the start before any actual ID3 or frame, which makes mp3_read_probe()
fail to detect the file properly.

Gabriel Fort? <gforte at wyplay.com>

More information about the ffmpeg-devel mailing list