[FFmpeg-cvslog] lavf/aacdec: Do not autodetect a single frame inside the file.

Carl Eugen Hoyos git at videolan.org
Sat Sep 24 19:34:14 EEST 2016


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sat Sep 24 15:09:27 2016 +0200| [04fa20d53c57fb120f53e4ee9ae0fab6fd348bc8] | committer: Carl Eugen Hoyos

lavf/aacdec: Do not autodetect a single frame inside the file.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=04fa20d53c57fb120f53e4ee9ae0fab6fd348bc8
---

 libavformat/aacdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/aacdec.c b/libavformat/aacdec.c
index aa23756..fecb1e3 100644
--- a/libavformat/aacdec.c
+++ b/libavformat/aacdec.c
@@ -70,7 +70,7 @@ 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)
+    else if (first_frames >= 1)
         return 1;
     else
         return 0;



More information about the ffmpeg-cvslog mailing list