From 4d8875ec23cf299277a0f028ea2ac99eb6f603c9 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Thu, 21 Mar 2019 01:18:37 +0100 Subject: lavf: Constify the probe function argument. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Lauri Kasanen Reviewed-by: Tomas Härdin --- libavformat/gxf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/gxf.c') diff --git a/libavformat/gxf.c b/libavformat/gxf.c index 399f745bc7..49364b7205 100644 --- a/libavformat/gxf.c +++ b/libavformat/gxf.c @@ -86,7 +86,7 @@ static int parse_packet_header(AVIOContext *pb, GXFPktType *type, int *length) { /** * @brief check if file starts with a PKT_MAP header */ -static int gxf_probe(AVProbeData *p) { +static int gxf_probe(const AVProbeData *p) { static const uint8_t startcode[] = {0, 0, 0, 0, 1, 0xbc}; // start with map packet static const uint8_t endcode[] = {0, 0, 0, 0, 0xe1, 0xe2}; if (!memcmp(p->buf, startcode, sizeof(startcode)) && -- cgit v1.2.3