Merge branch 'master' of github.com:jcupitt/libvips
This commit is contained in:
commit
836b6c943b
@ -840,7 +840,7 @@ fill_input_buffer (j_decompress_ptr cinfo)
|
||||
|
||||
InputBuffer *src = (InputBuffer *) cinfo->src;
|
||||
|
||||
if (src->start_of_file) {
|
||||
if (src->start_of_file && src->len > 0) {
|
||||
src->pub.next_input_byte = src->buf;
|
||||
src->pub.bytes_in_buffer = src->len;
|
||||
src->start_of_file = FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user