aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/alp.c
diff options
context:
space:
mode:
authorZane van Iperen <zane@zanevaniperen.com>2020-03-09 11:55:19 +0000
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2020-03-09 13:41:12 +0100
commitd99f3dc6b211509d9f6bbb82bbb59bff86a9e3a5 (patch)
tree4d22d46b603699804642d76122a023511e604b85 /libavformat/alp.c
parent608b8a8c82b732d9e5218a3e7cc98fbd0ec02620 (diff)
downloadffmpeg-d99f3dc6b211509d9f6bbb82bbb59bff86a9e3a5.tar.gz
avformat/alp: tweak probe function to return MAX-1
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
Diffstat (limited to 'libavformat/alp.c')
-rw-r--r--libavformat/alp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/alp.c b/libavformat/alp.c
index c0c7905380..4c2e8f0652 100644
--- a/libavformat/alp.c
+++ b/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)