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

Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
pull/334/head
Zane van Iperen 5 years ago committed by Carl Eugen Hoyos
parent 608b8a8c82
commit d99f3dc6b2
  1. 2
      libavformat/alp.c

@ -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)

Loading…
Cancel
Save