mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-30 15:00:29 +00:00
ljpegdec: Fix the left column of rgb24 decoding
Fixes Ticket894 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0cc8864687
commit
24be30de64
@ -730,7 +730,7 @@ static int ljpeg_decode_rgb_scan(MJpegDecodeContext *s, int nb_components, int p
|
||||
for(i=0; i<3; i++)
|
||||
top[i] = left[i]= topleft[i]= 1 << (s->bits - 1);
|
||||
}
|
||||
if (mb_y == resync_mb_y || mb_y == resync_mb_y+1 && mb_x < resync_mb_x)
|
||||
if (mb_y == resync_mb_y || mb_y == resync_mb_y+1 && mb_x < resync_mb_x || !mb_x)
|
||||
modified_predictor = 1;
|
||||
|
||||
for (i=0;i<nb_components;i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user