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/davs2.c | |
parent | 6dc1da416e14ede6cf8018183f86aeec5cfae86b (diff) |
lavf: Constify the probe function argument.
Reviewed-by: Lauri Kasanen
Reviewed-by: Tomas Härdin
Diffstat (limited to 'libavformat/davs2.c')
-rw-r--r-- | libavformat/davs2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/davs2.c b/libavformat/davs2.c index df2667fec7..59f41fd499 100644 --- a/libavformat/davs2.c +++ b/libavformat/davs2.c @@ -31,7 +31,7 @@ #define ISUNIT(x) ( ISSQH(x) || ISEND(x) || (x) == 0xB2 || ISPIC(x) || (x) == 0xB5 || (x) == 0xB7 ) #define ISAVS2(x) ((x) == 0x20 || (x) == 0x22 || (x) == 0x30 || (x) == 0x32 ) -static int avs2_probe(AVProbeData *p) +static int avs2_probe(const AVProbeData *p) { uint32_t code= -1, hds=0, pic=0, seq=0; uint8_t state=0; |