summaryrefslogtreecommitdiffstats
path: root/libavformat/yuv4mpegdec.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/yuv4mpegdec.c
parent6dc1da416e14ede6cf8018183f86aeec5cfae86b (diff)
downloadffmpeg-streaming-4d8875ec23cf299277a0f028ea2ac99eb6f603c9.zip
ffmpeg-streaming-4d8875ec23cf299277a0f028ea2ac99eb6f603c9.tar.gz
lavf: Constify the probe function argument.
Reviewed-by: Lauri Kasanen Reviewed-by: Tomas Härdin
Diffstat (limited to 'libavformat/yuv4mpegdec.c')
-rw-r--r--libavformat/yuv4mpegdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/yuv4mpegdec.c b/libavformat/yuv4mpegdec.c
index 855fadb..fc2f0ca 100644
--- a/libavformat/yuv4mpegdec.c
+++ b/libavformat/yuv4mpegdec.c
@@ -333,7 +333,7 @@ static int yuv4_read_seek(AVFormatContext *s, int stream_index,
return 0;
}
-static int yuv4_probe(AVProbeData *pd)
+static int yuv4_probe(const AVProbeData *pd)
{
/* check file header */
if (strncmp(pd->buf, Y4M_MAGIC, sizeof(Y4M_MAGIC) - 1) == 0)
OpenPOWER on IntegriCloud