]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/pcmdec.c
avformat: Constify all muxer/demuxers
[ffmpeg] / libavformat / pcmdec.c
index 9b552936acfd8072ac5a4f3265638eb424d3218e..01447c2b7e488b27aaa8273340d3b221084dfe80 100644 (file)
@@ -108,7 +108,7 @@ static const AVClass name_ ## _demuxer_class = {            \
     .option     = pcm_options,                              \
     .version    = LIBAVUTIL_VERSION_INT,                    \
 };                                                          \
-AVInputFormat ff_pcm_ ## name_ ## _demuxer = {              \
+const AVInputFormat ff_pcm_ ## name_ ## _demuxer = {        \
     .name           = #name_,                               \
     .long_name      = NULL_IF_CONFIG_SMALL(long_name_),     \
     .priv_data_size = sizeof(PCMAudioDemuxerContext),       \
@@ -168,7 +168,7 @@ static const AVClass sln_demuxer_class = {
     .version    = LIBAVUTIL_VERSION_INT,
 };
 
-AVInputFormat ff_sln_demuxer = {
+const AVInputFormat ff_sln_demuxer = {
     .name           = "sln",
     .long_name      = NULL_IF_CONFIG_SMALL("Asterisk raw pcm"),
     .priv_data_size = sizeof(PCMAudioDemuxerContext),