Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-03-21 03:18:37 +0300
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-03-21 13:42:17 +0300
commit4d8875ec23cf299277a0f028ea2ac99eb6f603c9 (patch)
tree6a1d32dd7d4dec420de705f53abe9150675ae3b3 /libavformat/brstm.c
parent6dc1da416e14ede6cf8018183f86aeec5cfae86b (diff)
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.c4
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')) &&