aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2013-02-02 22:36:25 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-03-02 02:05:14 +0100
commit85e082d08180ae1abfb63ddf0e09795def881316 (patch)
tree5753bd9790b8080c0c54a26e548d7fce4b1519e7
parenteeacc5a7d06944708b58631dffd53a2abc9ee457 (diff)
downloadffmpeg-85e082d08180ae1abfb63ddf0e09795def881316.tar.gz
Require at least three frames to autodetect loas.
(cherry picked from commit a60530e3ee1d9532c026a52b03661f88e163d647)
-rw-r--r--libavformat/loasdec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/loasdec.c b/libavformat/loasdec.c
index e48c21905a..fbe1cb4aa9 100644
--- a/libavformat/loasdec.c
+++ b/libavformat/loasdec.c
@@ -55,7 +55,6 @@ static int loas_probe(AVProbeData *p)
if (first_frames>=3) return AVPROBE_SCORE_MAX/2+1;
else if(max_frames>100)return AVPROBE_SCORE_MAX/2;
else if(max_frames>=3) return AVPROBE_SCORE_MAX/4;
- else if(max_frames>=1) return 1;
else return 0;
}