nn::jpeg::CTR::JpegMpDecoder::GetLastError Member Function#include <nn/jpeg.h> s32 GetLastError() const;
None.
JPEG_DECODER_ERROR_NONE (0) if the previous encoding process succeeded.Also returns 0 when the decoder object has just been initialized or reinitialized.Gets the reason for failure of the previous decoding operation.
The reason for failure is updated after calls to the following functions (the value is 0 if these functions succeed).
CONFIDENTIAL