]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/wavdec.c
avformat: Constify all muxer/demuxers
[ffmpeg] / libavformat / wavdec.c
index e11535b6ae4897f548c9e2b606554f24aee29669..0c8b8bf85d07af2d1a0689aee02eb5f37dd14f7e 100644 (file)
@@ -816,7 +816,7 @@ static const AVClass wav_demuxer_class = {
     .option     = demux_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };
-AVInputFormat ff_wav_demuxer = {
+const AVInputFormat ff_wav_demuxer = {
     .name           = "wav",
     .long_name      = NULL_IF_CONFIG_SMALL("WAV / WAVE (Waveform Audio)"),
     .priv_data_size = sizeof(WAVDemuxContext),
@@ -966,7 +966,7 @@ static const AVClass w64_demuxer_class = {
     .version    = LIBAVUTIL_VERSION_INT,
 };
 
-AVInputFormat ff_w64_demuxer = {
+const AVInputFormat ff_w64_demuxer = {
     .name           = "w64",
     .long_name      = NULL_IF_CONFIG_SMALL("Sony Wave64"),
     .priv_data_size = sizeof(WAVDemuxContext),