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/h263dec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/h263dec.c') diff --git a/libavformat/h263dec.c b/libavformat/h263dec.c index 101ef51748..4d826d8c2d 100644 --- a/libavformat/h263dec.c +++ b/libavformat/h263dec.c @@ -56,9 +56,9 @@ static int h263_probe(AVProbeData *p) } } if(valid_psc > 2*invalid_psc + 2*res_change + 3){ - return 50; + return AVPROBE_SCORE_EXTENSION; }else if(valid_psc > 2*invalid_psc) - return 25; + return AVPROBE_SCORE_EXTENSION / 2; return 0; } -- cgit v1.2.3