Browse code

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>

Michael Niedermayer authored on 2014/04/06 05:07:43
Showing 1 changed files
... ...
@@ -448,7 +448,7 @@ static int oma_read_probe(AVProbeData *p)
448 448
     /* This check cannot overflow as tag_len has at most 28 bits */
449 449
     if (p->buf_size < tag_len + 5)
450 450
         /* EA3 header comes late, might be outside of the probe buffer */
451
-        return tag_len ? AVPROBE_SCORE_EXTENSION : 0;
451
+        return tag_len ? AVPROBE_SCORE_EXTENSION/2 : 0;
452 452
 
453 453
     buf += tag_len;
454 454