diff --git a/libavcodec/eacmv.c b/libavcodec/eacmv.c index 6c4a85214f..572eb8e1bb 100644 --- a/libavcodec/eacmv.c +++ b/libavcodec/eacmv.c @@ -240,5 +240,5 @@ const AVCodec ff_eacmv_decoder = { .close = cmv_decode_end, .decode = cmv_decode_frame, .capabilities = AV_CODEC_CAP_DR1, - .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP, };