diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-03-25 16:12:51 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-05-04 21:43:06 +0200 |
commit | e0f8be6413b6a8d334d6052e610af32935c310af (patch) | |
tree | 1548e782ae23ad6e46225593b96928a85d1286a5 /libavformat/mpegvideodec.c | |
parent | 4d7ed3e73541983459a7913c2034eba69ebc113d (diff) | |
download | ffmpeg-e0f8be6413b6a8d334d6052e610af32935c310af.tar.gz |
avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriate
Diffstat (limited to 'libavformat/mpegvideodec.c')
-rw-r--r-- | libavformat/mpegvideodec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegvideodec.c b/libavformat/mpegvideodec.c index 87e5e038c6..96b95a58f1 100644 --- a/libavformat/mpegvideodec.c +++ b/libavformat/mpegvideodec.c @@ -51,7 +51,7 @@ static int mpegvideo_probe(AVProbeData *p) } } if(seq && seq*9<=pic*10 && pic*9<=slice*10 && !pspack && !pes) - return pic>1 ? AVPROBE_SCORE_MAX/2+1 : AVPROBE_SCORE_MAX/4; // +1 for .mpg + return pic>1 ? AVPROBE_SCORE_EXTENSION + 1 : AVPROBE_SCORE_EXTENSION / 2; // 1 more than .mpg return 0; } |