1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

avcodec/snowenc: Mark as FF_CODEC_CAP_INIT_THREADSAFE and FF_CODEC_CAP_INIT_CLEANUP

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-04-25 12:44:04 +02:00
parent ee8ce211ea
commit d49210788b

View File

@ -60,7 +60,6 @@ static av_cold int encode_init(AVCodecContext *avctx)
}
if ((ret = ff_snow_common_init(avctx)) < 0) {
ff_snow_common_end(avctx->priv_data);
return ret;
}
ff_mpegvideoencdsp_init(&s->mpvencdsp, avctx);
@ -1903,6 +1902,8 @@ AVCodec ff_snow_encoder = {
AV_PIX_FMT_NONE
},
.priv_class = &snowenc_class,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE |
FF_CODEC_CAP_INIT_CLEANUP,
};