Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-04-06 00:07:43 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-04-10 06:53:00 +0400
commit544accc895f33c52cf7f097b9c6c6d3eeadc6134 (patch)
tree4b89d61737989d4286e624901389a4b9d051f316 /libavformat
parentf41622ecb4b35eaaad3f7c73dd0adf26472afa4b (diff)
avformat/omadec: fix probetest failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit a84f9c75bc3f55fed4f68d2503a08ab70c76ecbe) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/omadec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/omadec.c b/libavformat/omadec.c
index dc6a12af3c..68cd879916 100644
--- a/libavformat/omadec.c
+++ b/libavformat/omadec.c
@@ -448,7 +448,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;