diff --git a/libavcodec/g722dec.c b/libavcodec/g722dec.c index 96cf1a86f1..5ca0d0e2b1 100644 --- a/libavcodec/g722dec.c +++ b/libavcodec/g722dec.c @@ -149,4 +149,5 @@ const AVCodec ff_adpcm_g722_decoder = { .decode = g722_decode_frame, .capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF, .priv_class = &g722_decoder_class, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, };