[FFmpeg-cvslog] avformat/omadec: fix probetest failure

Michael Niedermayer git at videolan.org
Thu Apr 10 05:08:40 CEST 2014


ffmpeg | branch: release/2.2 | Michael Niedermayer <michaelni at gmx.at> | Sat Apr  5 22:07:43 2014 +0200| [544accc895f33c52cf7f097b9c6c6d3eeadc6134] | committer: Michael Niedermayer

avformat/omadec: fix probetest failure

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit a84f9c75bc3f55fed4f68d2503a08ab70c76ecbe)

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=544accc895f33c52cf7f097b9c6c6d3eeadc6134
---

 libavformat/omadec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/omadec.c b/libavformat/omadec.c
index dc6a12a..68cd879 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;
 



More information about the ffmpeg-cvslog mailing list