diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-02-02 22:36:25 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-03-02 02:05:07 +0100 |
commit | 4b03f2c522e4eaf86528cc60684cd44a7f9adcbd (patch) | |
tree | 59ba9236b10bea3f26f57221e746f6bf8930b9e9 /libavformat | |
parent | a8b92c4b3ccb04a546eb93cc656b091d58414686 (diff) | |
download | ffmpeg-4b03f2c522e4eaf86528cc60684cd44a7f9adcbd.tar.gz |
Require at least three frames to autodetect loas.
(cherry picked from commit a60530e3ee1d9532c026a52b03661f88e163d647)
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/loasdec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/loasdec.c b/libavformat/loasdec.c index 4b4e04fff9..814234ffd6 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; } |