]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/westwood_audenc.c
avformat: Constify all muxer/demuxers
[ffmpeg] / libavformat / westwood_audenc.c
index 490f2ee26061940984f00fba55745ee46eac1295..b4fad83a170417ed47a436112391f9db4eca75b6 100644 (file)
@@ -73,7 +73,6 @@ static int wsaud_write_header(AVFormatContext *ctx)
     AVStream     *st = ctx->streams[0];
     AVIOContext  *pb = ctx->pb;
     AUDMuxContext *a = ctx->priv_data;
-    int ret;
     unsigned char flags = 0;
 
     a->uncomp_size = 0;
@@ -128,7 +127,7 @@ static int wsaud_write_trailer(AVFormatContext *ctx)
     return 0;
 }
 
-AVOutputFormat ff_wsaud_muxer = {
+const AVOutputFormat ff_wsaud_muxer = {
     .name              = "wsaud",
     .long_name         = NULL_IF_CONFIG_SMALL("Westwood Studios audio"),
     .extensions        = "aud",