summaryrefslogtreecommitdiff
path: root/libavformat/omadec.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/omadec.c
parent4d7ed3e73541983459a7913c2034eba69ebc113d (diff)
avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriate
Diffstat (limited to 'libavformat/omadec.c')
-rw-r--r--libavformat/omadec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/omadec.c b/libavformat/omadec.c
index b932ec33d0..4f9c49f611 100644
--- a/libavformat/omadec.c
+++ b/libavformat/omadec.c
@@ -428,7 +428,7 @@ static int oma_read_probe(AVProbeData *p)
/* This check cannot overflow as tag_len has at most 28 bits */
if (p->buf_size < tag_len + 5)
/* EA3 header comes late, might be outside of the probe buffer */
- return AVPROBE_SCORE_MAX / 2;
+ return AVPROBE_SCORE_EXTENSION;
buf += tag_len;