summaryrefslogtreecommitdiff
path: root/libavcodec/wrapped_avframe.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/wrapped_avframe.c')
-rw-r--r--libavcodec/wrapped_avframe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/wrapped_avframe.c b/libavcodec/wrapped_avframe.c
index 85ff32d13a..a7834b86e8 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,