Commit a649650a authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'd90133b7'

* commit 'd90133b7':
  asvenc: Mark codec as init-thread-safe and init-cleanup
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 0d3821a6 d90133b7
......@@ -361,6 +361,8 @@ AVCodec ff_asv1_encoder = {
.encode2 = encode_frame,
.pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV420P,
AV_PIX_FMT_NONE },
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE |
FF_CODEC_CAP_INIT_CLEANUP,
};
#endif
......@@ -375,5 +377,7 @@ AVCodec ff_asv2_encoder = {
.encode2 = encode_frame,
.pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV420P,
AV_PIX_FMT_NONE },
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE |
FF_CODEC_CAP_INIT_CLEANUP,
};
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment