Commit b394ccfe authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/mjpegdec: fix rgb ljpeg prediction 5/6/7 with point_transform

untested due to lack of sample
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 38f8640d
...@@ -790,7 +790,7 @@ static int ljpeg_decode_rgb_scan(MJpegDecodeContext *s, int nb_components, int p ...@@ -790,7 +790,7 @@ static int ljpeg_decode_rgb_scan(MJpegDecodeContext *s, int nb_components, int p
uint16_t (*buffer)[4]; uint16_t (*buffer)[4];
int left[4], top[4], topleft[4]; int left[4], top[4], topleft[4];
const int linesize = s->linesize[0]; const int linesize = s->linesize[0];
const int mask = (1 << s->bits) - 1; const int mask = ((1 << s->bits) - 1) << point_transform;
int resync_mb_y = 0; int resync_mb_y = 0;
int resync_mb_x = 0; int resync_mb_x = 0;
......
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