X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fyop.c;h=f9ead026a25cc1888158e0c1182cb13879b7ea97;hb=9086af2a0a590c7f576b72379d1708392cd96d5c;hp=b4b5fb4e155e1fecee7edd04d2c278836f2599af;hpb=5ca7eb36b7353f9e6af05a5a952eead5f6d326dd;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 &&