avcodec/mjpegdec: fix decoding 4th plane

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/60/head
Michael Niedermayer 11 years ago
parent 6904168c79
commit 501beae6f9
  1. 2
      libavcodec/mjpegdec.c

@ -497,7 +497,7 @@ unk_pixfmt:
s->picture_ptr->key_frame = 1;
s->got_picture = 1;
for (i = 0; i < 3; i++)
for (i = 0; i < 4; i++)
s->linesize[i] = s->picture_ptr->linesize[i] << s->interlaced;
av_dlog(s->avctx, "%d %d %d %d %d %d\n",

Loading…
Cancel
Save