1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

View File

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