wm4 <nfxjfg <at> googlemail.com> writes: > > > + return AVPROBE_SCORE_EXTENSION; > > > > I understand if you consider it not worth the effort, > > but ideally this would scan ahead several packets, > > and if it all matches up return a higher score. > > The MP3 probe function is possibly a good reference > > (though this one should be bit simpler).
I have written such a patch some time ago, so you can commit with AVPROBE_SCORE_EXTENSION / 2 (or / 4), I will try to improve using my older work if you want. (It was too slow so it has to be changed.) > Other formats are also relatively lazy Please point me to such a format, I would like to fix it. EXTENSION is ok for 32 bit, MAX is ok for 64bit. I think there is one bad example, but I cannot find it atm. Thank you, Carl Eugen _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel