Require at least three frames to autodetect loas.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 2 Feb 2013 21:36:25 +0000 (22:36 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 2 Mar 2013 01:05:02 +0000 (02:05 +0100)
(cherry picked from commit a60530e3ee1d9532c026a52b03661f88e163d647)

libavformat/loasdec.c

index ccb9464..39eba00 100644 (file)
@@ -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;
 }