Hi,
I've started to do a bit of debug in the libraries to understand a few
crashes I'm experiencing, and i'm puzzled by a bit of code in exrinput.cpp.
When looking for a subimage, the creation line 875 of a
Imf::TiledInputPart object fails because the Imf Header says the image
is scanline.
What puzzles me is that we catch the exception that is thrown, send an
error message to m_errmessage, clean pointers and then assert:
line 885: ASSERT(0);
Why assert ? I removed the assert, and since the function correctly
returns false afterwards, the program can continue. (btw, leaving the
assert prevent the error message from being retrieved).
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org