X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fyop.c;h=f9ead026a25cc1888158e0c1182cb13879b7ea97;hb=262eef6b899ca39f80296e6eb701e895549d8a83;hp=b4b5fb4e155e1fecee7edd04d2c278836f2599af;hpb=d6b62ce1aced9e2456582870382f384581cc7cbb;p=ffmpeg diff --git a/libavformat/yop.c b/libavformat/yop.c index b4b5fb4e155..f9ead026a25 100644 --- a/libavformat/yop.c +++ b/libavformat/yop.c @@ -36,7 +36,7 @@ typedef struct yop_dec_context { int palette_size; } YopDecContext; -static int yop_probe(AVProbeData *probe_packet) +static int yop_probe(const AVProbeData *probe_packet) { if (AV_RB16(probe_packet->buf) == AV_RB16("YO") && probe_packet->buf[2]<10 &&