]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/wrapped_avframe.c
avcodec: Constify AVCodecs
[ffmpeg] / libavcodec / wrapped_avframe.c
index 85ff32d13aef0e6d0722f793fb455e13eb510432..a7834b86e8058784e5cd16677b44128118202a79 100644 (file)
@@ -109,7 +109,7 @@ static int wrapped_avframe_decode(AVCodecContext *avctx, void *data,
     return 0;
 }
 
-AVCodec ff_wrapped_avframe_encoder = {
+const AVCodec ff_wrapped_avframe_encoder = {
     .name           = "wrapped_avframe",
     .long_name      = NULL_IF_CONFIG_SMALL("AVFrame to AVPacket passthrough"),
     .type           = AVMEDIA_TYPE_VIDEO,
@@ -118,7 +118,7 @@ AVCodec ff_wrapped_avframe_encoder = {
     .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };
 
-AVCodec ff_wrapped_avframe_decoder = {
+const AVCodec ff_wrapped_avframe_decoder = {
     .name           = "wrapped_avframe",
     .long_name      = NULL_IF_CONFIG_SMALL("AVPacket to AVFrame passthrough"),
     .type           = AVMEDIA_TYPE_VIDEO,