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/flacdec.c
parent6dc1da416e14ede6cf8018183f86aeec5cfae86b (diff)
lavf: Constify the probe function argument.
Reviewed-by: Lauri Kasanen Reviewed-by: Tomas Härdin
Diffstat (limited to 'libavformat/flacdec.c')
-rw-r--r--libavformat/flacdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/flacdec.c b/libavformat/flacdec.c
index a032378045..ea803f57dd 100644
--- a/libavformat/flacdec.c
+++ b/libavformat/flacdec.c
@@ -211,7 +211,7 @@ fail:
return ret;
}
-static int raw_flac_probe(AVProbeData *p)
+static int raw_flac_probe(const AVProbeData *p)
{
if ((p->buf[2] & 0xF0) == 0) // blocksize code invalid
return 0;
@@ -227,7 +227,7 @@ static int raw_flac_probe(AVProbeData *p)
return AVPROBE_SCORE_EXTENSION / 4 + 1;
}
-static int flac_probe(AVProbeData *p)
+static int flac_probe(const AVProbeData *p)
{
if ((AV_RB16(p->buf) & 0xFFFE) == 0xFFF8)
return raw_flac_probe(p);