X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Faixdec.c;h=59c3d60da393a7f4a8b5dda5ded4e59e2dae750a;hb=bc70684e74a185d7b80c8b80bdedda659cb581b8;hp=cad8a1e116e6a142308f2d8e04962e2706665db6;hpb=185aa5e896e15ae96145609944bfc6bbb239bc64;p=ffmpeg diff --git a/libavformat/aixdec.c b/libavformat/aixdec.c index cad8a1e116e..59c3d60da39 100644 --- a/libavformat/aixdec.c +++ b/libavformat/aixdec.c @@ -23,7 +23,7 @@ #include "avformat.h" #include "internal.h" -static int aix_probe(AVProbeData *p) +static int aix_probe(const AVProbeData *p) { if (AV_RL32(p->buf) != MKTAG('A','I','X','F') || AV_RB32(p->buf + 8) != 0x01000014 || @@ -129,7 +129,7 @@ static int aix_read_packet(AVFormatContext *s, AVPacket *pkt) return ret; } -AVInputFormat ff_aix_demuxer = { +const AVInputFormat ff_aix_demuxer = { .name = "aix", .long_name = NULL_IF_CONFIG_SMALL("CRI AIX"), .read_probe = aix_probe,