Commit 501beae6 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/mjpegdec: fix decoding 4th plane

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 6904168c
...@@ -497,7 +497,7 @@ unk_pixfmt: ...@@ -497,7 +497,7 @@ unk_pixfmt:
s->picture_ptr->key_frame = 1; s->picture_ptr->key_frame = 1;
s->got_picture = 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; s->linesize[i] = s->picture_ptr->linesize[i] << s->interlaced;
av_dlog(s->avctx, "%d %d %d %d %d %d\n", av_dlog(s->avctx, "%d %d %d %d %d %d\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment