summaryrefslogtreecommitdiff
path: root/libavformat/mtv.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/mtv.c
parent4d7ed3e73541983459a7913c2034eba69ebc113d (diff)
avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriate
Diffstat (limited to 'libavformat/mtv.c')
-rw-r--r--libavformat/mtv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mtv.c b/libavformat/mtv.c
index 3c2ae1f56d..ed250bccc3 100644
--- a/libavformat/mtv.c
+++ b/libavformat/mtv.c
@@ -64,13 +64,13 @@ static int mtv_probe(AVProbeData *p)
if(!AV_RL16(&p->buf[52]) || !AV_RL16(&p->buf[54]))
{
if(!!AV_RL16(&p->buf[56]))
- return AVPROBE_SCORE_MAX/2;
+ return AVPROBE_SCORE_EXTENSION;
else
return 0;
}
if(p->buf[51] != 16)
- return AVPROBE_SCORE_MAX/4; // But we are going to assume 16bpp anyway ..
+ return AVPROBE_SCORE_EXTENSION / 2; // But we are going to assume 16bpp anyway ..
return AVPROBE_SCORE_MAX;
}