Fixed openjpeg decoding bug with width/linesize issue
authorMichael Bradshaw <mbradshaw@sorensonmedia.com>
Sat, 3 Dec 2011 19:14:03 +0000 (12:14 -0700)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 3 Jan 2012 05:15:33 +0000 (06:15 +0100)
commitd1669e5fe3d61dc4181f96138eb4355aaaf231ea
tree79138bce50ec05961716c517d96ff077a6f23e2d
parent69d766daa0fdb85410bcb926d2b9ace0aaba34d0
Fixed openjpeg decoding bug with width/linesize issue

The original code wasn't taking into account the fact that linesize may not equal the frame's width.  This is to correct that.

Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/libopenjpegdec.c