X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fomadec.c;h=44829ec9e5ea9159de7424c243cad7d7e3cdaffa;hb=bad101ab8a54dd36d569daef35f8e583500bbf49;hp=9f0d52087c383a8d3f2381bfbcf9cb5174ab3086;hpb=5628b9f5fb92a72fa35a46520cf6c4dc1942de25;p=ffmpeg diff --git a/libavformat/omadec.c b/libavformat/omadec.c index 9f0d52087c3..44829ec9e5e 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;