summaryrefslogtreecommitdiff
path: root/libavformat/psxstr.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-03-21 01:18:37 +0100
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-03-21 11:42:17 +0100
commit4d8875ec23cf299277a0f028ea2ac99eb6f603c9 (patch)
tree6a1d32dd7d4dec420de705f53abe9150675ae3b3 /libavformat/psxstr.c
parent6dc1da416e14ede6cf8018183f86aeec5cfae86b (diff)
lavf: Constify the probe function argument.
Reviewed-by: Lauri Kasanen Reviewed-by: Tomas Härdin
Diffstat (limited to 'libavformat/psxstr.c')
-rw-r--r--libavformat/psxstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/psxstr.c b/libavformat/psxstr.c
index f7b9495bb9..ddc17e35d2 100644
--- a/libavformat/psxstr.c
+++ b/libavformat/psxstr.c
@@ -68,7 +68,7 @@ typedef struct StrDemuxContext {
static const uint8_t sync_header[12] = {0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00};
-static int str_probe(AVProbeData *p)
+static int str_probe(const AVProbeData *p)
{
const uint8_t *sector= p->buf;
const uint8_t *end= sector + p->buf_size;