Browse Source

tags/2021-05-28
jules 18 years ago
parent
commit
bf5c5ac68a
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/juce_appframework/gui/graphics/imaging/image_file_formats/juce_JPEGLoader.cpp

+ 2
- 0
src/juce_appframework/gui/graphics/imaging/image_file_formats/juce_JPEGLoader.cpp View File

@@ -85,6 +85,8 @@ static void dummyCallback1 (j_decompress_ptr) throw()
static void jpegSkip (j_decompress_ptr decompStruct, long num) throw()
{
decompStruct->src->next_input_byte += num;
num = jmin (num, (int) decompStruct->src->bytes_in_buffer);
decompStruct->src->bytes_in_buffer -= num;
}


Loading…
Cancel
Save