Browse Source

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

tags/n3.2
Carl Eugen Hoyos 8 years ago
parent
commit
04fa20d53c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/aacdec.c

+ 1
- 1
libavformat/aacdec.c View File

@@ -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;


Loading…
Cancel
Save