]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/psxstr.c
avformat/ifv: Check for EOF in read_index()
[ffmpeg] / libavformat / psxstr.c
index f7b9495bb9f48ca757f50310185bae6cddf00d00..ddc17e35d2a8b6447b762a29a45415f28976e326 100644 (file)
@@ -68,7 +68,7 @@ typedef struct StrDemuxContext {
 
 static const uint8_t sync_header[12] = {0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00};
 
-static int str_probe(AVProbeData *p)
+static int str_probe(const AVProbeData *p)
 {
     const uint8_t *sector= p->buf;
     const uint8_t *end= sector + p->buf_size;