]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/aixdec.c
avformat: Constify all muxer/demuxers
[ffmpeg] / libavformat / aixdec.c
index cad8a1e116e6a142308f2d8e04962e2706665db6..59c3d60da393a7f4a8b5dda5ded4e59e2dae750a 100644 (file)
@@ -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,