[FFmpeg-cvslog] frmdec: reduce probe score to reflect test accuracy (and pass probetest)

Peter Ross git at videolan.org
Sun Jan 6 07:16:47 CET 2013


ffmpeg | branch: master | Peter Ross <pross at xvid.org> | Sun Jan  6 16:51:22 2013 +1100| [c44b4ee6ea1efaceb5afbba3a01946d0007db654] | committer: Peter Ross

frmdec: reduce probe score to reflect test accuracy (and pass probetest)

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

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

diff --git a/libavformat/frmdec.c b/libavformat/frmdec.c
index b9b3ed7..1dc2358 100644
--- a/libavformat/frmdec.c
+++ b/libavformat/frmdec.c
@@ -45,7 +45,7 @@ static int frm_read_probe(AVProbeData *p)
     if (p->buf_size > 8 &&
         p->buf[0] == 'F' && p->buf[1] == 'R' && p->buf[2] == 'M' &&
         AV_RL16(&p->buf[4]) && AV_RL16(&p->buf[6]))
-        return AVPROBE_SCORE_MAX / 2;
+        return AVPROBE_SCORE_MAX / 4;
     return 0;
 }
 



More information about the ffmpeg-cvslog mailing list