MCPcopy Create free account
hub / github.com/davisking/dlib / jpeg_loader_error_exit

Function jpeg_loader_error_exit

dlib/cmake_utils/test_for_libjpeg/libjpeg_test.cpp:16–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14};
15
16void jpeg_loader_error_exit (j_common_ptr cinfo)
17{
18 jpeg_loader_error_mgr* myerr = (jpeg_loader_error_mgr*) cinfo->err;
19
20 longjmp(myerr->setjmp_buffer, 1);
21}
22
23// This code doesn't really make a lot of sense. It's just calling all the libjpeg functions to make
24// sure they can be compiled and linked.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected