X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libavformat%2Fpsxstr.c;h=ddc17e35d2a8b6447b762a29a45415f28976e326;hb=00ed04d6149691a9abf486b2f88172fd6341d801;hp=f7b9495bb9f48ca757f50310185bae6cddf00d00;hpb=d6b62ce1aced9e2456582870382f384581cc7cbb;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;