]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/apngenc.c
avformat: Constify all muxer/demuxers
[ffmpeg] / libavformat / apngenc.c
index 88cd8054d6d46c4cb3f3e1bb618e527d67cc63ad..c97c475274e9aee0e615fcd99fc4ab628017d224 100644 (file)
@@ -119,7 +119,7 @@ static int flush_packet(AVFormatContext *format_context, AVPacket *packet)
     AVIOContext *io_context = format_context->pb;
     AVStream *codec_stream = format_context->streams[0];
     uint8_t *side_data = NULL;
-    int side_data_size = 0;
+    size_t side_data_size;
 
     av_assert0(apng->prev_packet);
 
@@ -294,7 +294,7 @@ static const AVClass apng_muxer_class = {
     .option     = options,
 };
 
-AVOutputFormat ff_apng_muxer = {
+const AVOutputFormat ff_apng_muxer = {
     .name           = "apng",
     .long_name      = NULL_IF_CONFIG_SMALL("Animated Portable Network Graphics"),
     .mime_type      = "image/png",