diff options
author | Thomas G. Lane <tgl@netcom.com> | 1994-12-07 00:00:00 +0000 |
---|---|---|
committer | DRC <information@libjpeg-turbo.org> | 2015-07-29 15:29:17 -0500 |
commit | 9ba2f5ed3649fb6de83d3c16e4dba1443aaca983 (patch) | |
tree | cfd9b7b2ec501c4243645b4a1d1e3448b3f477a7 /jdatasrc.c | |
parent | 36a4ccccd33f5cc9df62949554af87129ced7f84 (diff) |
The Independent JPEG Group's JPEG software v5a
Diffstat (limited to 'jdatasrc.c')
-rw-r--r-- | jdatasrc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -137,6 +137,9 @@ skip_input_data (j_decompress_ptr cinfo, long num_bytes) while (num_bytes > (long) src->pub.bytes_in_buffer) { num_bytes -= (long) src->pub.bytes_in_buffer; (void) fill_input_buffer(cinfo); + /* note we assume that fill_input_buffer will never return FALSE, + * so suspension need not be handled. + */ } src->pub.next_input_byte += (size_t) num_bytes; src->pub.bytes_in_buffer -= (size_t) num_bytes; |