diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2016-09-24 16:09:27 +0300 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2016-09-24 19:33:55 +0300 |
commit | 04fa20d53c57fb120f53e4ee9ae0fab6fd348bc8 (patch) | |
tree | 211c771fed480ec03e80b87ee264f2fcd3e51213 /libavformat | |
parent | 47ea6f5c9d1bb5a3a6b9429857dbd6ee32809b0e (diff) |
lavf/aacdec: Do not autodetect a single frame inside the file.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/aacdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/aacdec.c b/libavformat/aacdec.c index aa2375690d..fecb1e381d 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; |