X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fjvdec.c;h=18c81f0de7a0bdeb7fa52d806bc65c4adef74695;hb=6347146e3d3d55216445696504d49e33470e17ad;hp=b2c067fb998381633b55b88d9d30bce8f36470bc;hpb=06476249cd2332e30b66576633b2827adf3478dd;p=ffmpeg diff --git a/libavformat/jvdec.c b/libavformat/jvdec.c index b2c067fb998..18c81f0de7a 100644 --- a/libavformat/jvdec.c +++ b/libavformat/jvdec.c @@ -52,7 +52,7 @@ typedef struct JVDemuxContext { #define MAGIC " Compression by John M Phillips Copyright (C) 1995 The Bitmap Brothers Ltd." -static int read_probe(AVProbeData *pd) +static int read_probe(const AVProbeData *pd) { if (pd->buf[0] == 'J' && pd->buf[1] == 'V' && strlen(MAGIC) + 4 <= pd->buf_size && !memcmp(pd->buf + 4, MAGIC, strlen(MAGIC)))