summaryrefslogtreecommitdiff
path: root/libavformat/mlpdec.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/mlpdec.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/mlpdec.c')
-rw-r--r--libavformat/mlpdec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/mlpdec.c b/libavformat/mlpdec.c
index d82df219d9..e210d7d52e 100644
--- a/libavformat/mlpdec.c
+++ b/libavformat/mlpdec.c
@@ -25,7 +25,7 @@
#include "rawdec.h"
#include "libavutil/intreadwrite.h"
-static int av_always_inline mlp_thd_probe(AVProbeData *p, uint32_t sync)
+static int av_always_inline mlp_thd_probe(const AVProbeData *p, uint32_t sync)
{
const uint8_t *buf, *last_buf = p->buf, *end = p->buf + p->buf_size;
int frames = 0, valid = 0, size = 0;
@@ -51,7 +51,7 @@ static int av_always_inline mlp_thd_probe(AVProbeData *p, uint32_t sync)
}
#if CONFIG_MLP_DEMUXER
-static int mlp_probe(AVProbeData *p)
+static int mlp_probe(const AVProbeData *p)
{
return mlp_thd_probe(p, 0xf8726fbb);
}
@@ -69,7 +69,7 @@ AVInputFormat ff_mlp_demuxer = {
#endif
#if CONFIG_TRUEHD_DEMUXER
-static int thd_probe(AVProbeData *p)
+static int thd_probe(const AVProbeData *p)
{
return mlp_thd_probe(p, 0xf8726fba);
}