aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/h263dec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-03-25 16:12:51 +0100
committerDiego Biurrun <diego@biurrun.de>2013-05-04 21:43:06 +0200
commite0f8be6413b6a8d334d6052e610af32935c310af (patch)
tree1548e782ae23ad6e46225593b96928a85d1286a5 /libavformat/h263dec.c
parent4d7ed3e73541983459a7913c2034eba69ebc113d (diff)
downloadffmpeg-e0f8be6413b6a8d334d6052e610af32935c310af.tar.gz
avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriate
Diffstat (limited to 'libavformat/h263dec.c')
-rw-r--r--libavformat/h263dec.c4
1 files changed, 2 insertions, 2 deletions
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;
}