[FFmpeg-devel] [PATCH] Make mpeg probe slightly less aggressive.

Alex Converse alex.converse
Thu Feb 5 21:30:32 CET 2009

Now that the mp3 probe isn't aggressively grabbing any file it can
find with an id3v2 tag some files with id3v2 tags with extra padding
past the end of the tag are getting misidentified as MPEG PES.
Currently it takes 500 mp3 frames to probe at 50 if the file has zeros
at the beginning but only 2 PES packets to probe at 52. The attached
patch makes the mpeg probe slightly less aggressive on audio files.

Alex Converse
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mp3_probe_score.diff
Type: text/x-diff
Size: 497 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090205/ea9a7eb1/attachment.diff>

More information about the ffmpeg-devel mailing list