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/tmv.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/tmv.c')
-rw-r--r-- | libavformat/tmv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tmv.c b/libavformat/tmv.c index 2e351714bc..b74af547c5 100644 --- a/libavformat/tmv.c +++ b/libavformat/tmv.c @@ -51,7 +51,7 @@ typedef struct TMVContext { #define PROBE_MAX_FPS 120 #define PROBE_MIN_AUDIO_SIZE (PROBE_MIN_SAMPLE_RATE / PROBE_MAX_FPS) -static int tmv_probe(AVProbeData *p) +static int tmv_probe(const AVProbeData *p) { if (AV_RL32(p->buf) == TMV_TAG && AV_RL16(p->buf+4) >= PROBE_MIN_SAMPLE_RATE && |