From a60530e3ee1d9532c026a52b03661f88e163d647 Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos <cehoyos@ag.or.at>
Date: Sat, 2 Feb 2013 22:36:25 +0100
Subject: [PATCH] Require at least three frames to autodetect loas.

---
 libavformat/loasdec.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavformat/loasdec.c b/libavformat/loasdec.c
index 2a06fe12a79..d3a8dbd6cdd 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;
 }
 
-- 
GitLab