X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fpcmdec.c;h=01447c2b7e488b27aaa8273340d3b221084dfe80;hb=bc70684e74a185d7b80c8b80bdedda659cb581b8;hp=9b552936acfd8072ac5a4f3265638eb424d3218e;hpb=d92f38c179591a608390ffa9fee59c309142e79d;p=ffmpeg diff --git a/libavformat/pcmdec.c b/libavformat/pcmdec.c index 9b552936acf..01447c2b7e4 100644 --- a/libavformat/pcmdec.c +++ b/libavformat/pcmdec.c @@ -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),