Hi! I use this patch locally for some time. It fixes many misdetections, a similar patch was applied to loas detection three years ago. An alternative would be to return "1" for two frames.
Please comment, Carl Eugen
From f3d9ebedcbc137c4d639efdbed485298f9dc9f3e Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos <[email protected]> Date: Fri, 23 Sep 2016 23:57:03 +0200 Subject: [PATCH] lavf/aacdec: Do not autodetect a single frame. --- libavformat/aacdec.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavformat/aacdec.c b/libavformat/aacdec.c index aa23756..39624e4 100644 --- a/libavformat/aacdec.c +++ b/libavformat/aacdec.c @@ -70,8 +70,6 @@ static int adts_aac_probe(AVProbeData *p) return AVPROBE_SCORE_EXTENSION; else if (max_frames >= 3) return AVPROBE_SCORE_EXTENSION / 2; - else if (max_frames >= 1) - return 1; else return 0; } -- 1.7.10.4
_______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
