avcodec/hnm4video: Mark decoder as init-threadsafe

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2020-11-29 19:36:19 +01:00 committed by Andreas Rheinhardt
parent c437afa3d3
commit b3df59a5ea

View File

@ -507,5 +507,5 @@ const AVCodec ff_hnm4_video_decoder = {
.close = hnm_decode_end,
.decode = hnm_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,
};