Changed error message to something more meaningful

This commit is contained in:
Robert Osfield
2003-11-25 10:52:13 +00:00
parent 7147f52f6d
commit 33fabed8c8

View File

@@ -254,7 +254,7 @@ int *numComponents_ret)
catch (j_common_ptr)
{
std::cout << " Here we are"<<std::endl;
std::cerr<< "JPEG reading error - erron num: "<<ERR_JPEGLIB<<std::endl;
/* If we get here, the JPEG code has signaled an error.
* We need to clean up the JPEG object, close the input file, and return.