Closed Bug 388342 Opened 15 years ago Closed 15 years ago
imglib warning when loading jpeg images - WARNING: NS
_ENSURE _TRUE(index < static _cast<PRUint32>(m Frames .Count()))
The patch that added APNG support added a NS_ENSURE_ARG to imgContainer::GetFrameAt(). Unfortunately the JPEG decoder triggers that because it always tries to get frame 0 (for mixed-multipart?), so using a debug build for dogfooding can get chatty at times with all the warnings that line emits. This patch allows requesting in a container that doesn't yet contain a frame, and makes sure GetFrameAt always sets the return properly.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.