ffmpeg | branch: master | Zane van Iperen <z...@zanevaniperen.com> | Mon Mar  9 
11:55:19 2020 +0000| [d99f3dc6b211509d9f6bbb82bbb59bff86a9e3a5] | committer: 
Carl Eugen Hoyos

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

Signed-off-by: Zane van Iperen <z...@zanevaniperen.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d99f3dc6b211509d9f6bbb82bbb59bff86a9e3a5
---

 libavformat/alp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to