diff options
Diffstat (limited to 'src/imageutils/jpegcontent.cpp')
-rw-r--r-- | src/imageutils/jpegcontent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imageutils/jpegcontent.cpp b/src/imageutils/jpegcontent.cpp index b4ad947..0effc16 100644 --- a/src/imageutils/jpegcontent.cpp +++ b/src/imageutils/jpegcontent.cpp @@ -88,7 +88,7 @@ int inmem_fill_input_buffer(j_decompress_ptr cinfo) { void inmem_skip_input_data(j_decompress_ptr cinfo, long num_bytes) { if (num_bytes<=0) return; - Q_ASSERT(num_bytes>=long(cinfo->src->bytes_in_buffer)); + Q_ASSERT(num_bytes<=long(cinfo->src->bytes_in_buffer)); cinfo->src->next_input_byte+=num_bytes; cinfo->src->bytes_in_buffer-=num_bytes; } |