comparison src/glyphs-x.c @ 60:2e6f5e180fb8 r19-16-pre5

Import from CVS: tag r19-16-pre5
author cvs
date Mon, 13 Aug 2007 08:58:59 +0200
parents c0965ff3b039
children 131b0175ea99
comparison
equal deleted inserted replaced
59:37115eea810c 60:2e6f5e180fb8
1211 src = (struct jpeg_source_mgr *) cinfo->src; 1211 src = (struct jpeg_source_mgr *) cinfo->src;
1212 1212
1213 if (!src) { 1213 if (!src) {
1214 return; 1214 return;
1215 } else if (num_bytes > src->bytes_in_buffer) { 1215 } else if (num_bytes > src->bytes_in_buffer) {
1216 num_bytes = (long)src->bytes_in_buffer; 1216 ERREXIT(cinfo, JERR_INPUT_EOF);
1217 /*NOTREACHED*/
1217 } 1218 }
1218 1219
1219 src->bytes_in_buffer -= num_bytes; 1220 src->bytes_in_buffer -= num_bytes;
1220 src->next_input_byte += num_bytes; 1221 src->next_input_byte += num_bytes;
1221 } 1222 }