We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1389d27 commit e0fcd6dCopy full SHA for e0fcd6d
Sources/jxlc/JxlAnimatedDecoder.hpp
@@ -78,7 +78,8 @@ class JxlAnimatedDecoder {
78
}
79
80
if (JXL_DEC_SUCCESS != JxlDecoderSetUnpremultiplyAlpha(dec.get(), JXL_TRUE)) {
81
- return false;
+ std::string str = "Cannot initialize decoder";
82
+ throw AnimatedDecoderError(str);
83
84
85
if (JXL_DEC_SUCCESS !=
0 commit comments