X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fmpsubdec.c;h=4ff49ba3cf589096736d441341bd751914c9c863;hb=703583dbb1f35ccefeb8f2cccd2f99b97a4d482a;hp=1236efa712f580ad2f3f16eb30d09391bfd0b6af;hpb=4069096dd535ee99175c2a29c1a1f59c3fc110c1;p=ffmpeg diff --git a/libavformat/mpsubdec.c b/libavformat/mpsubdec.c index 1236efa712f..4ff49ba3cf5 100644 --- a/libavformat/mpsubdec.c +++ b/libavformat/mpsubdec.c @@ -31,7 +31,7 @@ typedef struct { FFDemuxSubtitlesQueue q; } MPSubContext; -static int mpsub_probe(AVProbeData *p) +static int mpsub_probe(const AVProbeData *p) { const char *ptr = p->buf; const char *ptr_end = p->buf + p->buf_size;