Commit a84f9c75 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/omadec: fix probetest failure

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d167faaf
...@@ -450,7 +450,7 @@ static int oma_read_probe(AVProbeData *p) ...@@ -450,7 +450,7 @@ static int oma_read_probe(AVProbeData *p)
/* This check cannot overflow as tag_len has at most 28 bits */ /* This check cannot overflow as tag_len has at most 28 bits */
if (p->buf_size < tag_len + 5) if (p->buf_size < tag_len + 5)
/* EA3 header comes late, might be outside of the probe buffer */ /* 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; buf += tag_len;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment