X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fgxf.c;h=49364b7205824b0fd6e3f226031e02ca0ed31152;hb=2eee34372ff2ae4a4efc348362b904632b1e7cee;hp=399f745bc76a6a247b94c1502ade1af62bf03e11;hpb=4f9a8d3fe2f9485ee08848d336ee96f15ec0e7e6;p=ffmpeg diff --git a/libavformat/gxf.c b/libavformat/gxf.c index 399f745bc76..49364b72058 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)) &&