Merge commit '058d5f2feb730846f22c1812e433f92f670ad751'
[ffmpeg.git] / libavcodec / mpegvideo_enc.c
index 9e0193a..7c46f74 100644 (file)
@@ -3488,7 +3488,8 @@ static int encode_picture(MpegEncContext *s, int picture_number)
     switch(s->out_format) {
     case FMT_MJPEG:
         if (CONFIG_MJPEG_ENCODER)
-            ff_mjpeg_encode_picture_header(s);
+            ff_mjpeg_encode_picture_header(s->avctx, &s->pb, &s->intra_scantable,
+                                           s->intra_matrix);
         break;
     case FMT_H261:
         if (CONFIG_H261_ENCODER)