]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mpc7.c
avcodec: Constify AVCodecs
[ffmpeg] / libavcodec / mpc7.c
index 720d67623f84c6502bd0355b2bb7741d4554f0e9..c1a63203d622f60ea5f491d590fb18730623c3d8 100644 (file)
@@ -28,7 +28,9 @@
 #include "libavutil/channel_layout.h"
 #include "libavutil/internal.h"
 #include "libavutil/lfg.h"
+#include "libavutil/mem_internal.h"
 #include "libavutil/thread.h"
+
 #include "avcodec.h"
 #include "get_bits.h"
 #include "internal.h"
@@ -306,7 +308,7 @@ static av_cold int mpc7_decode_close(AVCodecContext *avctx)
     return 0;
 }
 
-AVCodec ff_mpc7_decoder = {
+const AVCodec ff_mpc7_decoder = {
     .name           = "mpc7",
     .long_name      = NULL_IF_CONFIG_SMALL("Musepack SV7"),
     .type           = AVMEDIA_TYPE_AUDIO,