X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fwrapped_avframe.c;h=a7834b86e8058784e5cd16677b44128118202a79;hb=a247ac640df3da573cd661065bf53f37863e2b46;hp=85ff32d13aef0e6d0722f793fb455e13eb510432;hpb=92219ef4ac01b00e630b39cb19e8fbd17fdb63d0;p=ffmpeg diff --git a/libavcodec/wrapped_avframe.c b/libavcodec/wrapped_avframe.c index 85ff32d13ae..a7834b86e80 100644 --- a/libavcodec/wrapped_avframe.c +++ b/libavcodec/wrapped_avframe.c @@ -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,