diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2019-03-21 01:18:37 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2019-03-21 11:42:17 +0100 |
commit | 4d8875ec23cf299277a0f028ea2ac99eb6f603c9 (patch) | |
tree | 6a1d32dd7d4dec420de705f53abe9150675ae3b3 /libavformat/ac3dec.c | |
parent | 6dc1da416e14ede6cf8018183f86aeec5cfae86b (diff) | |
download | ffmpeg-4d8875ec23cf299277a0f028ea2ac99eb6f603c9.tar.gz |
lavf: Constify the probe function argument.
Reviewed-by: Lauri Kasanen
Reviewed-by: Tomas Härdin
Diffstat (limited to 'libavformat/ac3dec.c')
-rw-r--r-- | libavformat/ac3dec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/ac3dec.c b/libavformat/ac3dec.c index 2718061bdc..3736b118d3 100644 --- a/libavformat/ac3dec.c +++ b/libavformat/ac3dec.c @@ -25,7 +25,7 @@ #include "avformat.h" #include "rawdec.h" -static int ac3_eac3_probe(AVProbeData *p, enum AVCodecID expected_codec_id) +static int ac3_eac3_probe(const AVProbeData *p, enum AVCodecID expected_codec_id) { int max_frames, first_frames = 0, frames; const uint8_t *buf, *buf2, *end; @@ -97,7 +97,7 @@ static int ac3_eac3_probe(AVProbeData *p, enum AVCodecID expected_codec_id) } #if CONFIG_AC3_DEMUXER -static int ac3_probe(AVProbeData *p) +static int ac3_probe(const AVProbeData *p) { return ac3_eac3_probe(p, AV_CODEC_ID_AC3); } @@ -115,7 +115,7 @@ AVInputFormat ff_ac3_demuxer = { #endif #if CONFIG_EAC3_DEMUXER -static int eac3_probe(AVProbeData *p) +static int eac3_probe(const AVProbeData *p) { return ac3_eac3_probe(p, AV_CODEC_ID_EAC3); } |