Browse Source

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

Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
tags/n4.3
Zane van Iperen Carl Eugen Hoyos 6 years ago
parent
commit
d99f3dc6b2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/alp.c

+ 1
- 1
libavformat/alp.c 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)


Loading…
Cancel
Save