diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-02-27 21:49:46 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-02-27 21:49:46 +0100 |
commit | 501beae6f9910280f386bd4b9b6dd77e9afb782f (patch) | |
tree | 3e0f34b22c2954202ba1a2d23ddfbfdbb045a938 /libavcodec/mjpegdec.c | |
parent | 6904168c79f21911a04bf1a17b3e11abeedd5250 (diff) | |
download | ffmpeg-501beae6f9910280f386bd4b9b6dd77e9afb782f.tar.gz |
avcodec/mjpegdec: fix decoding 4th plane
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mjpegdec.c')
-rw-r--r-- | libavcodec/mjpegdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index 67b27e1474..c0792281bc 100644 --- a/libavcodec/mjpegdec.c +++ b/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", |