Commit b71784c4 authored by vaclav's avatar vaclav
Browse files

Add error cases into IVAS_DEC_GetErrorMessage()

parent 46df10ea
Loading
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -1596,10 +1596,19 @@ const char *IVAS_DEC_GetErrorMessage(
            return "invalid format of input bitstream";
        case IVAS_ERR_INVALID_INDEX:
            return "invalid index";
        case IVAS_ERR_INTERNAL:
        case IVAS_ERR_INTERNAL_FATAL:
            return "internal error";
        case IVAS_ERR_RECONFIGURE_NOT_SUPPORTED:
            return "reconfigure not supported";
        case IVAS_ERR_UNEXPECTED_NULL_POINTER:
            return "unexpected NULL pointer";            
#ifdef DEBUGGING
        case IVAS_ERR_INVALID_FORCE_MODE:
            return "invalid force mode";
#endif
        case IVAS_ERR_FAILED_FILE_READ:
            return "could not read from file";
        case IVAS_ERR_NOT_IMPLEMENTED:
            return "not implemented";
        case IVAS_ERR_UNKNOWN: