mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-01-26 22:34:49 +00:00
avformat/libgme: decrease score by 1, fixes probetest failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
1b3d3a9c87
commit
a35e30b672
@ -174,7 +174,7 @@ static int probe_gme(AVProbeData *p)
|
|||||||
// Reads 4 bytes - returns "" if unknown format.
|
// Reads 4 bytes - returns "" if unknown format.
|
||||||
if (gme_identify_header(p->buf)[0]) {
|
if (gme_identify_header(p->buf)[0]) {
|
||||||
if (p->buf_size < 16384)
|
if (p->buf_size < 16384)
|
||||||
return AVPROBE_SCORE_MAX / 4 + 1;
|
return AVPROBE_SCORE_MAX / 4 ;
|
||||||
else
|
else
|
||||||
return AVPROBE_SCORE_MAX / 2;
|
return AVPROBE_SCORE_MAX / 2;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user