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/flvdec.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/flvdec.c')
-rw-r--r-- | libavformat/flvdec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 972e333313..92455c76c7 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -77,7 +77,7 @@ typedef struct FLVContext { int64_t time_pos; } FLVContext; -static int probe(AVProbeData *p, int live) +static int probe(const AVProbeData *p, int live) { const uint8_t *d = p->buf; unsigned offset = AV_RB32(d + 5); @@ -96,12 +96,12 @@ static int probe(AVProbeData *p, int live) return 0; } -static int flv_probe(AVProbeData *p) +static int flv_probe(const AVProbeData *p) { return probe(p, 0); } -static int live_flv_probe(AVProbeData *p) +static int live_flv_probe(const AVProbeData *p) { return probe(p, 1); } |