[FFmpeg-devel] [PATCH] avformat/libopenmpt: Don't discard const
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Thu Oct 8 16:49:40 EEST 2020
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
libavformat/libopenmpt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/libopenmpt.c b/libavformat/libopenmpt.c
index 52511aba56..b07da5f078 100644
--- a/libavformat/libopenmpt.c
+++ b/libavformat/libopenmpt.c
@@ -218,7 +218,7 @@ static int read_seek_openmpt(AVFormatContext *s, int stream_idx, int64_t ts, int
return 0;
}
-static int probe_openmpt_extension(AVProbeData *p)
+static int probe_openmpt_extension(const AVProbeData *p)
{
const char *ext;
if (p->filename) {
--
2.25.1
More information about the ffmpeg-devel
mailing list