avcodec/gifdec: set .caps_internal

This commit is contained in:
Paul B Mahol 2018-09-09 11:35:14 +02:00
parent 158043bae8
commit 39cfb722ee
1 changed files with 2 additions and 0 deletions

View File

@ -561,5 +561,7 @@ AVCodec ff_gif_decoder = {
.close = gif_decode_close,
.decode = gif_decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE |
FF_CODEC_CAP_INIT_CLEANUP,
.priv_class = &decoder_class,
};