libavcodec/mjpegdec.c:709: error: Uninitialized Value
  The value read from linesize[_] was never initialized.

libavcodec/mjpegdec.c:709:21: 
707.                     }
708. //                    av_log(s->avctx, AV_LOG_DEBUG, "mb: %d %d processed\n", mb_y, mb_x);
709.                     ptr = data[c] +
                         ^
710.                         (((linesize[c] * (v * mb_y + y) * 8) +
711.                         (h * mb_x + x) * 8) >> s->avctx->lowres);
