summaryrefslogtreecommitdiff
path: root/libavformat/omadec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-04-05 22:07:43 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-05 22:07:43 +0200
commita84f9c75bc3f55fed4f68d2503a08ab70c76ecbe (patch)
tree9da5127bb49b775a1c34abd06dfcf872b8e76837 /libavformat/omadec.c
parentd167faafe9dfa0b82bebb267c3c4e5fa5286bd67 (diff)
avformat/omadec: fix probetest failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 9f0d52087c..44829ec9e5 100644
--- a/libavformat/omadec.c
+++ b/libavformat/omadec.c
@@ -450,7 +450,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 tag_len ? AVPROBE_SCORE_EXTENSION : 0;
+ return tag_len ? AVPROBE_SCORE_EXTENSION/2 : 0;
buf += tag_len;