mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2026-05-28 05:39:08 -04:00
JXL: Fix missing checks for BOXES when parsing animation
Fix error when parsing something like: ``` JXL_DEC_BOX JXL_DEC_BOX JXL_DEC_BOX JXL_DEC_BASIC_INFO JXL_DEC_COLOR_ENCODING JXL_DEC_BOX JXL_DEC_BOX JXL_DEC_FRAME JXL_DEC_BOX JXL_DEC_FRAME ``` CCBUG: 496350
This commit is contained in:
@@ -52,6 +52,7 @@ private:
|
||||
bool decode_one_frame();
|
||||
bool rewind();
|
||||
bool decodeBoxes(JxlDecoderStatus &status);
|
||||
bool decodeBox(const JxlDecoderStatus &status);
|
||||
|
||||
enum ParseJpegXLState {
|
||||
ParseJpegXLError = -1,
|
||||
|
||||
Reference in New Issue
Block a user