]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/wavenc.c
avformat: Constify all muxer/demuxers
[ffmpeg] / libavformat / wavenc.c
index 563a30d0056f27b6e3781c01219ca93ace38526e..06e6047032d15050268b0cb3bf883029496186ac 100644 (file)
@@ -504,7 +504,7 @@ static const AVClass wav_muxer_class = {
     .version    = LIBAVUTIL_VERSION_INT,
 };
 
-AVOutputFormat ff_wav_muxer = {
+const AVOutputFormat ff_wav_muxer = {
     .name              = "wav",
     .long_name         = NULL_IF_CONFIG_SMALL("WAV / WAVE (Waveform Audio)"),
     .mime_type         = "audio/x-wav",
@@ -603,7 +603,7 @@ static int w64_write_trailer(AVFormatContext *s)
     return 0;
 }
 
-AVOutputFormat ff_w64_muxer = {
+const AVOutputFormat ff_w64_muxer = {
     .name              = "w64",
     .long_name         = NULL_IF_CONFIG_SMALL("Sony Wave64"),
     .extensions        = "w64",