| 100 | }; |
| 101 | |
| 102 | void jpeg_loader_error_exit (j_common_ptr cinfo) |
| 103 | { |
| 104 | /* cinfo->err really points to a jpeg_loader_error_mgr struct, so coerce pointer */ |
| 105 | jpeg_loader_error_mgr* myerr = (jpeg_loader_error_mgr*) cinfo->err; |
| 106 | |
| 107 | /* Create the message */ |
| 108 | ( *( cinfo->err->format_message ) ) ( cinfo, myerr->jpegLastErrorMsg ); |
| 109 | |
| 110 | /* Return control to the setjmp point */ |
| 111 | longjmp(myerr->setjmp_buffer, 1); |
| 112 | } |
| 113 | |
| 114 | // ---------------------------------------------------------------------------------------- |
| 115 | FILE * jpeg_loader::check_file( const char* filename ) |
nothing calls this directly
no outgoing calls
no test coverage detected