TIFFReadRGBAImage doesn't actually return errors unless you ask it to.
authorRalph Giles <giles@xiph.org>
Sun, 20 Feb 2011 06:15:01 +0000 (06:15 +0000)
committerRalph Giles <giles@xiph.org>
Sun, 20 Feb 2011 06:15:01 +0000 (06:15 +0000)
commitbdc4204eaa2a763ab9412170202b600146e031dd
treeb9304071140773546b91b21c0ebf5e1ad0880dc5
parent468ef6fca4bdef095c921b232502793c6a63b29d
TIFFReadRGBAImage doesn't actually return errors unless you ask it to.

The final argument to TIFFReadRGBAImage is 'stopOnError'. That is,
if it's not true then the function will return success even if
loading the actual image data failed. As such, copying the example
code out of the documentation wasn't really what we wanted.

svn path=/trunk/theora/; revision=17856
examples/tiff2theora.c