[FFmpeg-cvslog] avformat/libgme: decrease score by 1, fixes probetest failure
Michael Niedermayer
git at videolan.org
Wed Nov 6 11:58:47 CET 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Nov 6 11:33:12 2013 +0100| [a35e30b6722212cc9f07abba4e3f2d504bd8833d] | committer: Michael Niedermayer
avformat/libgme: decrease score by 1, fixes probetest failure
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a35e30b6722212cc9f07abba4e3f2d504bd8833d
---
libavformat/libgme.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/libgme.c b/libavformat/libgme.c
index 1ae63dc..276477b 100644
--- a/libavformat/libgme.c
+++ b/libavformat/libgme.c
@@ -174,7 +174,7 @@ static int probe_gme(AVProbeData *p)
// Reads 4 bytes - returns "" if unknown format.
if (gme_identify_header(p->buf)[0]) {
if (p->buf_size < 16384)
- return AVPROBE_SCORE_MAX / 4 + 1;
+ return AVPROBE_SCORE_MAX / 4 ;
else
return AVPROBE_SCORE_MAX / 2;
}
More information about the ffmpeg-cvslog
mailing list