X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fmlpdec.c;h=e210d7d52ee91565ddfca84b3270d76a3c913ae1;hb=76ef18fd3910a5b479a3d9e584a0adc13f0d84ee;hp=d82df219d997c33767467d4da20c75dad3c9ecab;hpb=203bbaccfaaeac9548862e83792d38509a8c8167;p=ffmpeg diff --git a/libavformat/mlpdec.c b/libavformat/mlpdec.c index d82df219d99..e210d7d52ee 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); }