X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fsmush.c;h=20352adf94fa2ff401299827cbf60017c412d00d;hb=76ef18fd3910a5b479a3d9e584a0adc13f0d84ee;hp=fe544d876112046b288ed13a8615807f006ab3d8;hpb=5ca7eb36b7353f9e6af05a5a952eead5f6d326dd;p=ffmpeg diff --git a/libavformat/smush.c b/libavformat/smush.c index fe544d87611..20352adf94f 100644 --- a/libavformat/smush.c +++ b/libavformat/smush.c @@ -31,7 +31,7 @@ typedef struct SMUSHContext { int video_stream_index; } SMUSHContext; -static int smush_read_probe(AVProbeData *p) +static int smush_read_probe(const AVProbeData *p) { if (((AV_RL32(p->buf) == MKTAG('S', 'A', 'N', 'M') && AV_RL32(p->buf + 8) == MKTAG('S', 'H', 'D', 'R')) ||