4 ms·
> While some programs/libs (most notably libjpeg) use setjmp/longjmp Also libpng. What is it with these graphics guys that they can't just return an error cod
by smcameron 4y ago
> While some programs/libs (most notably libjpeg) use setjmp/longjmp
Also libpng. What is it with these graphics guys that they can't just return an error code like a normal person?
- duskwuff 4y agolibjpeg is a fairly old library (1991), so it isn't terribly surprising that it doesn't follow modern programming conventions. libpng is only slightly newer (1995), and may have adopted the pattern from libjpeg.