diff options
Diffstat (limited to 'src/3rdparty/libjpeg/jquant2.c')
-rw-r--r-- | src/3rdparty/libjpeg/jquant2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/3rdparty/libjpeg/jquant2.c b/src/3rdparty/libjpeg/jquant2.c index 06671126c..24d3cc219 100644 --- a/src/3rdparty/libjpeg/jquant2.c +++ b/src/3rdparty/libjpeg/jquant2.c @@ -44,7 +44,7 @@ * * The second pass over the image maps each input pixel to the closest output * color (optionally after applying a Floyd-Steinberg dithering correction). - * This mapping is logically trivial, but making it go fast enough retquires + * This mapping is logically trivial, but making it go fast enough requires * considerable care. * * Heckbert-style quantizers vary a good deal in their policies for choosing @@ -215,7 +215,7 @@ typedef my_cquantizer * my_cquantize_ptr; * Prescan some rows of pixels. * In this module the prescan simply updates the histogram, which has been * initialized to zeroes by start_pass. - * An output_buf parameter is retquired by the method signature, but no data + * An output_buf parameter is required by the method signature, but no data * is actually output (in fact the buffer controller is probably passing a * NULL pointer). */ @@ -1015,7 +1015,7 @@ pass2_fs_dither (j_decompress_ptr cinfo, cur2 = error_limit[cur2]; /* Form pixel value + error, and range-limit to 0..MAXJSAMPLE. * The maximum error is +- MAXJSAMPLE (or less with error limiting); - * this sets the retquired size of the range_limit array. + * this sets the required size of the range_limit array. */ cur0 += GETJSAMPLE(inptr[0]); cur1 += GETJSAMPLE(inptr[1]); @@ -1269,7 +1269,7 @@ jinit_2pass_quantizer (j_decompress_ptr cinfo) } cquantize->needs_zeroed = TRUE; /* histogram is garbage now */ - /* Allocate storage for the completed colormap, if retquired. + /* Allocate storage for the completed colormap, if required. * We do this now since it is FAR storage and may affect * the memory manager's space calculations. */ |