avcodec/dpcm: Mark decoders as init-threadsafe

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2020-11-30 00:22:34 +01:00 committed by Andreas Rheinhardt
parent a80b3e5e0e
commit 55e23c5241

View File

@ -419,6 +419,7 @@ const AVCodec ff_ ## name_ ## _decoder = { \
.init = dpcm_decode_init, \
.decode = dpcm_decode_frame, \
.capabilities = AV_CODEC_CAP_DR1, \
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, \
}
DPCM_DECODER(AV_CODEC_ID_DERF_DPCM, derf_dpcm, "DPCM Xilam DERF");