X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fcodec2.c;h=ce249d4470f51ed36ad248db50b37f77564576d9;hb=bc70684e74a185d7b80c8b80bdedda659cb581b8;hp=0c2ad3aa014b0c9ecf6b6c7d6d4d820509afd754;hpb=d92f38c179591a608390ffa9fee59c309142e79d;p=ffmpeg diff --git a/libavformat/codec2.c b/libavformat/codec2.c index 0c2ad3aa014..ce249d4470f 100644 --- a/libavformat/codec2.c +++ b/libavformat/codec2.c @@ -300,7 +300,7 @@ static const AVClass codec2raw_demux_class = { }; #if CONFIG_CODEC2_DEMUXER -AVInputFormat ff_codec2_demuxer = { +const AVInputFormat ff_codec2_demuxer = { .name = "codec2", .long_name = NULL_IF_CONFIG_SMALL("codec2 .c2 demuxer"), .priv_data_size = sizeof(Codec2Context), @@ -316,7 +316,7 @@ AVInputFormat ff_codec2_demuxer = { #endif #if CONFIG_CODEC2_MUXER -AVOutputFormat ff_codec2_muxer = { +const AVOutputFormat ff_codec2_muxer = { .name = "codec2", .long_name = NULL_IF_CONFIG_SMALL("codec2 .c2 muxer"), .priv_data_size = sizeof(Codec2Context), @@ -331,7 +331,7 @@ AVOutputFormat ff_codec2_muxer = { #endif #if CONFIG_CODEC2RAW_DEMUXER -AVInputFormat ff_codec2raw_demuxer = { +const AVInputFormat ff_codec2raw_demuxer = { .name = "codec2raw", .long_name = NULL_IF_CONFIG_SMALL("raw codec2 demuxer"), .priv_data_size = sizeof(Codec2Context),