Skip to content

Commit 55071c9

Browse files
committed
Revert "Handle NULL buffer when discarding rows"
This reverts commit 922c23a. since this change has issues on mac14 and windows.
1 parent 922c23a commit 55071c9

File tree

1 file changed

+0
-4
lines changed
  • graf2d/asimage/src/libAfterImage/libjpeg

1 file changed

+0
-4
lines changed

graf2d/asimage/src/libAfterImage/libjpeg/jquant1.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -528,10 +528,6 @@ quantize_ord_dither (j_decompress_ptr cinfo, JSAMPARRAY input_buf,
528528
JDIMENSION col;
529529
JDIMENSION width = cinfo->output_width;
530530

531-
if (output_buf == NULL && num_rows) {
532-
ERREXIT(cinfo, JERR_BAD_PARAM);
533-
}
534-
535531
for (row = 0; row < num_rows; row++) {
536532
/* Initialize output values to 0 so can process components separately */
537533
jzero_far((void FAR *) output_buf[row],

0 commit comments

Comments
 (0)