[FFmpeg-cvslog] Require at least three frames to autodetect loas.

Carl Eugen Hoyos git at videolan.org
Sat Mar 2 02:10:19 CET 2013


ffmpeg | branch: release/1.0 | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sat Feb  2 22:36:25 2013 +0100| [857a0379457ef79c1dc15d15b672e374d74dd6dc] | committer: Carl Eugen Hoyos

Require at least three frames to autodetect loas.
(cherry picked from commit a60530e3ee1d9532c026a52b03661f88e163d647)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=857a0379457ef79c1dc15d15b672e374d74dd6dc
---

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

diff --git a/libavformat/loasdec.c b/libavformat/loasdec.c
index ccb9464..39eba00 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;
 }
 



More information about the ffmpeg-cvslog mailing list