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