Commit 04fa20d5 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

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

parent 47ea6f5c
...@@ -70,7 +70,7 @@ static int adts_aac_probe(AVProbeData *p) ...@@ -70,7 +70,7 @@ static int adts_aac_probe(AVProbeData *p)
return AVPROBE_SCORE_EXTENSION; return AVPROBE_SCORE_EXTENSION;
else if (max_frames >= 3) else if (max_frames >= 3)
return AVPROBE_SCORE_EXTENSION / 2; return AVPROBE_SCORE_EXTENSION / 2;
else if (max_frames >= 1) else if (first_frames >= 1)
return 1; return 1;
else else
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment