Merge commit '74a1cad7e3ba79e5b1e5b2e2bcf6179520442679'
[ffmpeg.git] / libavcodec / lclenc.c
index 864adc9..bce1d53 100644 (file)
@@ -199,4 +199,6 @@ AVCodec ff_zlib_encoder = {
     .close          = encode_end,
     .capabilities   = CODEC_CAP_FRAME_THREADS | CODEC_CAP_INTRA_ONLY,
     .pix_fmts       = (const enum AVPixelFormat[]) { AV_PIX_FMT_BGR24, AV_PIX_FMT_NONE },
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE |
+                      FF_CODEC_CAP_INIT_CLEANUP,
 };