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/amr.c | |
parent | 6dc1da416e14ede6cf8018183f86aeec5cfae86b (diff) |
lavf: Constify the probe function argument.
Reviewed-by: Lauri Kasanen
Reviewed-by: Tomas Härdin
Diffstat (limited to 'libavformat/amr.c')
-rw-r--r-- | libavformat/amr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/amr.c b/libavformat/amr.c index de347058f3..42840a50a3 100644 --- a/libavformat/amr.c +++ b/libavformat/amr.c @@ -71,7 +71,7 @@ static int amr_write_packet(AVFormatContext *s, AVPacket *pkt) } #endif /* CONFIG_AMR_MUXER */ -static int amr_probe(AVProbeData *p) +static int amr_probe(const AVProbeData *p) { // Only check for "#!AMR" which could be amr-wb, amr-nb. // This will also trigger multichannel files: "#!AMR_MC1.0\n" and @@ -176,7 +176,7 @@ AVInputFormat ff_amr_demuxer = { #endif #if CONFIG_AMRNB_DEMUXER -static int amrnb_probe(AVProbeData *p) +static int amrnb_probe(const AVProbeData *p) { int mode, i = 0, valid = 0, invalid = 0; const uint8_t *b = p->buf; @@ -232,7 +232,7 @@ AVInputFormat ff_amrnb_demuxer = { #endif #if CONFIG_AMRWB_DEMUXER -static int amrwb_probe(AVProbeData *p) +static int amrwb_probe(const AVProbeData *p) { int mode, i = 0, valid = 0, invalid = 0; const uint8_t *b = p->buf; |