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/brstm.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/brstm.c')
-rw-r--r-- | libavformat/brstm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/brstm.c b/libavformat/brstm.c index 87690e3f73..e8a1eaa022 100644 --- a/libavformat/brstm.c +++ b/libavformat/brstm.c @@ -38,7 +38,7 @@ typedef struct BRSTMDemuxContext { int little_endian; } BRSTMDemuxContext; -static int probe(AVProbeData *p) +static int probe(const AVProbeData *p) { if (AV_RL32(p->buf) == MKTAG('R','S','T','M') && (AV_RL16(p->buf + 4) == 0xFFFE || @@ -47,7 +47,7 @@ static int probe(AVProbeData *p) return 0; } -static int probe_bfstm(AVProbeData *p) +static int probe_bfstm(const AVProbeData *p) { if ((AV_RL32(p->buf) == MKTAG('F','S','T','M') || AV_RL32(p->buf) == MKTAG('C','S','T','M')) && |