]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mvcdec.c
avcodec: Constify AVCodecs
[ffmpeg] / libavcodec / mvcdec.c
index e507674c227a7aba9f56b3041667c0c4ada24855..84cdae212369e8e4051f725239ce6bd59810b2d3 100644 (file)
@@ -253,7 +253,7 @@ static int mvc_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
 }
 
 #if CONFIG_MVC1_DECODER
-AVCodec ff_mvc1_decoder = {
+const AVCodec ff_mvc1_decoder = {
     .name           = "mvc1",
     .long_name      = NULL_IF_CONFIG_SMALL("Silicon Graphics Motion Video Compressor 1"),
     .type           = AVMEDIA_TYPE_VIDEO,
@@ -266,7 +266,7 @@ AVCodec ff_mvc1_decoder = {
 #endif
 
 #if CONFIG_MVC2_DECODER
-AVCodec ff_mvc2_decoder = {
+const AVCodec ff_mvc2_decoder = {
     .name           = "mvc2",
     .long_name      = NULL_IF_CONFIG_SMALL("Silicon Graphics Motion Video Compressor 2"),
     .type           = AVMEDIA_TYPE_VIDEO,