aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mj2kdec.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-03-21 01:18:37 +0100
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-03-21 11:42:17 +0100
commit4d8875ec23cf299277a0f028ea2ac99eb6f603c9 (patch)
tree6a1d32dd7d4dec420de705f53abe9150675ae3b3 /libavformat/mj2kdec.c
parent6dc1da416e14ede6cf8018183f86aeec5cfae86b (diff)
downloadffmpeg-4d8875ec23cf299277a0f028ea2ac99eb6f603c9.tar.gz
lavf: Constify the probe function argument.
Reviewed-by: Lauri Kasanen Reviewed-by: Tomas Härdin
Diffstat (limited to 'libavformat/mj2kdec.c')
-rw-r--r--libavformat/mj2kdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mj2kdec.c b/libavformat/mj2kdec.c
index 1fb94094cc..703ff91efb 100644
--- a/libavformat/mj2kdec.c
+++ b/libavformat/mj2kdec.c
@@ -24,7 +24,7 @@
#include "rawdec.h"
#if CONFIG_MJPEG_2000_DEMUXER
-static int mjpeg2000_probe(AVProbeData *p)
+static int mjpeg2000_probe(const AVProbeData *p)
{
const uint8_t *b = p->buf;
int i, marker, marker_size;