|
|
@@ -1082,7 +1082,7 @@ static int ljpeg_decode_yuv_scan(MJpegDecodeContext *s, int predictor, |
|
|
if (s->interlaced && s->bottom_field) |
|
|
if (s->interlaced && s->bottom_field) |
|
|
ptr += linesize >> 1; |
|
|
ptr += linesize >> 1; |
|
|
pred &= mask; |
|
|
pred &= mask; |
|
|
*ptr= pred + (dc << point_transform); |
|
|
|
|
|
|
|
|
*ptr= pred + ((unsigned)dc << point_transform); |
|
|
}else{ |
|
|
}else{ |
|
|
ptr16 = (uint16_t*)(s->picture_ptr->data[c] + 2*(linesize * (v * mb_y + y)) + 2*(h * mb_x + x)); //FIXME optimize this crap |
|
|
ptr16 = (uint16_t*)(s->picture_ptr->data[c] + 2*(linesize * (v * mb_y + y)) + 2*(h * mb_x + x)); //FIXME optimize this crap |
|
|
if(y==0 && toprow){ |
|
|
if(y==0 && toprow){ |
|
|
|