From e0f8be6413b6a8d334d6052e610af32935c310af Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 25 Mar 2013 16:12:51 +0100 Subject: avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriate --- libavformat/h264dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/h264dec.c') diff --git a/libavformat/h264dec.c b/libavformat/h264dec.c index 0c85bae6d4..7d3bb474f4 100644 --- a/libavformat/h264dec.c +++ b/libavformat/h264dec.c @@ -63,7 +63,7 @@ static int h264_probe(AVProbeData *p) } } if(sps && pps && (idr||sli>3) && res<(sps+pps+idr)) - return AVPROBE_SCORE_MAX/2+1; // +1 for .mpg + return AVPROBE_SCORE_EXTENSION + 1; // 1 more than .mpg return 0; } -- cgit v1.2.3