Merge commit '5a0e953c2465be9d449d5f523c3d3e2b886910b2'
[ffmpeg.git] / libavcodec / mjpegbdec.c
index f6ee705..8ac60c2 100644 (file)
@@ -27,6 +27,7 @@
 #include <inttypes.h>
 
 #include "avcodec.h"
+#include "internal.h"
 #include "mjpeg.h"
 #include "mjpegdec.h"
 
@@ -167,4 +168,5 @@ AVCodec ff_mjpegb_decoder = {
     .decode         = mjpegb_decode_frame,
     .capabilities   = CODEC_CAP_DR1,
     .max_lowres     = 3,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };