ljpegdec: fix point transform injection.
Fix Ticket842 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
83f70805c0
commit
b0143da806
@ -660,7 +660,7 @@ static int ljpeg_decode_rgb_scan(MJpegDecodeContext *s, int predictor, int point
|
||||
buffer= s->ljpeg_buffer;
|
||||
|
||||
for(i=0; i<3; i++){
|
||||
buffer[0][i]= 1 << (s->bits + point_transform - 1);
|
||||
buffer[0][i]= 1 << (s->bits - 1);
|
||||
}
|
||||
for(mb_y = 0; mb_y < s->mb_height; mb_y++) {
|
||||
const int modified_predictor= mb_y ? predictor : 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user