Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2013-02-03 01:36:25 +0400
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-02-03 01:36:25 +0400
commita60530e3ee1d9532c026a52b03661f88e163d647 (patch)
tree3e8a2a3b45504f4a66f15545234e55aa0943eb27 /libavformat
parent695af8eed642ff0104834495652d1ee784a4c14d (diff)
Require at least three frames to autodetect loas.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/loasdec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/loasdec.c b/libavformat/loasdec.c
index 2a06fe12a7..d3a8dbd6cd 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;
}