]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mtv.c
avformat/mpsubdec: Check pts / duration before cast
[ffmpeg] / libavformat / mtv.c
index dcf4aa428807203440f2d0761e8d9494bca67adf..728f4a4781c48a801808057e26141a1920924628 100644 (file)
@@ -51,7 +51,7 @@ typedef struct MTVDemuxContext {
 
 } MTVDemuxContext;
 
-static int mtv_probe(AVProbeData *p)
+static int mtv_probe(const AVProbeData *p)
 {
     /* we need at least 57 bytes from the header
      * to try parsing all required fields