Hi! Attached patch copies one line from mp3dec.c into loasdec.c to force probing more data and fixes ticket #3821. An alternative is to remove the offending line from mp3dec.c (it was added in 2006 or earlier).
Please review, Carl Eugen
diff --git a/libavformat/loasdec.c b/libavformat/loasdec.c index c41809b..26d37cb 100644 --- a/libavformat/loasdec.c +++ b/libavformat/loasdec.c @@ -61,6 +61,8 @@ static int loas_probe(AVProbeData *p) return AVPROBE_SCORE_EXTENSION; else if (max_frames >= 3) return AVPROBE_SCORE_EXTENSION / 2; + else if (max_frames>=1 && max_frames >= p->buf_size/10000) + return 1; else return 0; }
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel