]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ac3dec_float.c
avcodec: Constify AVCodecs
[ffmpeg] / libavcodec / ac3dec_float.c
index b18317f8b368c6f1a6145f57b5a919b3f8b8d585..3aa6482b1a13392fc6f9e6e820b0db23d1e58a89 100644 (file)
@@ -53,7 +53,7 @@ static const AVClass ac3_decoder_class = {
     .version    = LIBAVUTIL_VERSION_INT,
 };
 
-AVCodec ff_ac3_decoder = {
+const AVCodec ff_ac3_decoder = {
     .name           = "ac3",
     .type           = AVMEDIA_TYPE_AUDIO,
     .id             = AV_CODEC_ID_AC3,
@@ -78,7 +78,7 @@ static const AVClass eac3_decoder_class = {
     .version    = LIBAVUTIL_VERSION_INT,
 };
 
-AVCodec ff_eac3_decoder = {
+const AVCodec ff_eac3_decoder = {
     .name           = "eac3",
     .type           = AVMEDIA_TYPE_AUDIO,
     .id             = AV_CODEC_ID_EAC3,