X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fgdcmjpeg%2Fjddiffct.c;h=68ed1cc40e84363162eda688a7df34a75674cafa;hb=4962adb161e312436550b1569781c520d4fea97e;hp=6dc61e44569788272aeed1e7f109171656c1c375;hpb=e1830579102f036e9e558320a21990a9438ec9ef;p=gdcm.git diff --git a/src/gdcmjpeg/jddiffct.c b/src/gdcmjpeg/jddiffct.c index 6dc61e44..68ed1cc4 100644 --- a/src/gdcmjpeg/jddiffct.c +++ b/src/gdcmjpeg/jddiffct.c @@ -201,17 +201,17 @@ decompress_data (j_decompress_ptr cinfo, JSAMPIMAGE output_buf) compptr = cinfo->cur_comp_info[comp]; ci = compptr->component_index; for (row = 0, prev_row = compptr->v_samp_factor - 1; - row < (cinfo->input_iMCU_row == last_iMCU_row ? - compptr->last_row_height : compptr->v_samp_factor); - prev_row = row, row++) { + row < (cinfo->input_iMCU_row == last_iMCU_row ? + compptr->last_row_height : compptr->v_samp_factor); + prev_row = row, row++) { (*losslsd->predict_undifference[ci]) (cinfo, ci, - diff->diff_buf[ci][row], - diff->undiff_buf[ci][prev_row], - diff->undiff_buf[ci][row], - compptr->width_in_data_units); + diff->diff_buf[ci][row], + diff->undiff_buf[ci][prev_row], + diff->undiff_buf[ci][row], + compptr->width_in_data_units); (*losslsd->scaler_scale) (cinfo, diff->undiff_buf[ci][row], - output_buf[ci][row], - compptr->width_in_data_units); + output_buf[ci][row], + compptr->width_in_data_units); } }