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/txd.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/txd.c')
-rw-r--r-- | libavformat/txd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/txd.c b/libavformat/txd.c index 18c968395b..072cd04f57 100644 --- a/libavformat/txd.c +++ b/libavformat/txd.c @@ -31,7 +31,7 @@ #define TXD_MARKER 0x1803ffff #define TXD_MARKER2 0x1003ffff -static int txd_probe(AVProbeData * pd) { +static int txd_probe(const AVProbeData * pd) { if (AV_RL32(pd->buf ) == TXD_FILE && (AV_RL32(pd->buf+8) == TXD_MARKER || AV_RL32(pd->buf+8) == TXD_MARKER2)) return AVPROBE_SCORE_MAX; |