X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libavcodec%2Findeo4.c;h=3d3579d76b6e4ed61d3d8b66104cd21205c8dad9;hb=HEAD;hp=4bfc6cdd7416a382da5fe7aa5268037eb3e0b0e0;hpb=50ae1f7e0ff1fa00236622415039f7e28d919a25;p=ffmpeg diff --git a/libavcodec/indeo4.c b/libavcodec/indeo4.c index 4bfc6cdd741..3d3579d76b6 100644 --- a/libavcodec/indeo4.c +++ b/libavcodec/indeo4.c @@ -703,7 +703,7 @@ static av_cold int decode_init(AVCodecContext *avctx) } -AVCodec ff_indeo4_decoder = { +const AVCodec ff_indeo4_decoder = { .name = "indeo4", .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo Video Interactive 4"), .type = AVMEDIA_TYPE_VIDEO, @@ -713,4 +713,5 @@ AVCodec ff_indeo4_decoder = { .close = ff_ivi_decode_close, .decode = ff_ivi_decode_frame, .capabilities = AV_CODEC_CAP_DR1, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, };