X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fpsxstr.c;h=ddc17e35d2a8b6447b762a29a45415f28976e326;hb=ed58f8475fa8e659abc887fcd4ef1bd886be397d;hp=f7b9495bb9f48ca757f50310185bae6cddf00d00;hpb=a12063b118ad05409ff775ba30fab00265ad3031;p=ffmpeg diff --git a/libavformat/psxstr.c b/libavformat/psxstr.c index f7b9495bb9f..ddc17e35d2a 100644 --- a/libavformat/psxstr.c +++ b/libavformat/psxstr.c @@ -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;