avformat/alp: tweak probe function to return MAX-1

Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
This commit is contained in:
Zane van Iperen 2020-03-09 11:55:19 +00:00 committed by Carl Eugen Hoyos
parent 608b8a8c82
commit d99f3dc6b2
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ static int alp_probe(const AVProbeData *p)
if (strncmp("ADPCM", p->buf + 8, 6) != 0)
return 0;
return AVPROBE_SCORE_EXTENSION + 1;
return AVPROBE_SCORE_MAX - 1;
}
static int alp_read_header(AVFormatContext *s)