]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mlpdec.c
avformat: Constify all muxer/demuxers
[ffmpeg] / libavformat / mlpdec.c
index 40b1833761da5c24231dec367f72010239d00f6b..6f2ba5d87450bfb267cc0065240545975c385226 100644 (file)
@@ -57,7 +57,7 @@ static int mlp_probe(const AVProbeData *p)
 }
 
 FF_RAW_DEMUXER_CLASS(mlp)
-AVInputFormat ff_mlp_demuxer = {
+const AVInputFormat ff_mlp_demuxer = {
     .name           = "mlp",
     .long_name      = NULL_IF_CONFIG_SMALL("raw MLP"),
     .read_probe     = mlp_probe,
@@ -78,7 +78,7 @@ static int thd_probe(const AVProbeData *p)
 }
 
 FF_RAW_DEMUXER_CLASS(truehd)
-AVInputFormat ff_truehd_demuxer = {
+const AVInputFormat ff_truehd_demuxer = {
     .name           = "truehd",
     .long_name      = NULL_IF_CONFIG_SMALL("raw TrueHD"),
     .read_probe     = thd_probe,