]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/av1dec.c
avformat: Constify all muxer/demuxers
[ffmpeg] / libavformat / av1dec.c
index 5ae81b34d4e0db1e8f36dab5ed832c7c30af7905..b71d5d0e1962cd6de1577d522336d4d4138b3490 100644 (file)
@@ -281,7 +281,7 @@ static const AVClass annexb_demuxer_class = {
     .version    = LIBAVUTIL_VERSION_INT,
 };
 
-AVInputFormat ff_av1_demuxer = {
+const AVInputFormat ff_av1_demuxer = {
     .name           = "av1",
     .long_name      = NULL_IF_CONFIG_SMALL("AV1 Annex B"),
     .priv_data_size = sizeof(AnnexBContext),
@@ -468,7 +468,7 @@ static const AVClass obu_demuxer_class = {
     .version    = LIBAVUTIL_VERSION_INT,
 };
 
-AVInputFormat ff_obu_demuxer = {
+const AVInputFormat ff_obu_demuxer = {
     .name           = "obu",
     .long_name      = NULL_IF_CONFIG_SMALL("AV1 low overhead OBU"),
     .priv_data_size = sizeof(ObuContext),