Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-06 14:33:12 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-11-06 14:57:48 +0400
commita35e30b6722212cc9f07abba4e3f2d504bd8833d (patch)
tree011d05a4e0073d3b9c2b50594fef531dc7a370fe /libavformat/libgme.c
parent1b3d3a9c87f138b92f26a8b34873913b94f8999a (diff)
avformat/libgme: decrease score by 1, fixes probetest failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/libgme.c')
-rw-r--r--libavformat/libgme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/libgme.c b/libavformat/libgme.c
index 1ae63dc454..276477b308 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;
}