diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c index e1a075faa7..841f0c0d14 100644 --- a/libavcodec/tscc.c +++ b/libavcodec/tscc.c @@ -191,5 +191,5 @@ const AVCodec ff_tscc_decoder = { .close = decode_end, .decode = 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, };