MCPcopy Create free account
hub / github.com/DentonW/DevIL / ExitErrorHandle

Function ExitErrorHandle

DevIL/src-IL/src/il_jpeg.cpp:156–161  ·  view source on GitHub ↗

Overrides libjpeg's stupid error/warning handlers. =P void ExitErrorHandle (struct jpeg_common_struct *JpegInfo)

Source from the content-addressed store, hash-verified

154// Overrides libjpeg's stupid error/warning handlers. =P
155//void ExitErrorHandle (struct jpeg_common_struct *JpegInfo)
156void ExitErrorHandle(j_common_ptr cinfo)
157{
158 ilSetError(IL_LIB_JPEG_ERROR);
159 jpgErrorOccured = IL_TRUE;
160 return;
161}
162void OutputMsg(struct jpeg_common_struct *JpegInfo)
163{
164 return;

Callers

nothing calls this directly

Calls 1

ilSetErrorFunction · 0.85

Tested by

no test coverage detected