diff options
Diffstat (limited to 'encoder/ih264e_error.h')
-rw-r--r-- | encoder/ih264e_error.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/encoder/ih264e_error.h b/encoder/ih264e_error.h index 05e8920..d0fd294 100644 --- a/encoder/ih264e_error.h +++ b/encoder/ih264e_error.h @@ -30,13 +30,17 @@ * ittiam * * @remarks -* None +* none * ******************************************************************************* */ -#ifndef IH264E_ERROR_H_ -#define IH264E_ERROR_H_ +#ifndef _IH264E_ERROR_H_ +#define _IH264E_ERROR_H_ + +/*****************************************************************************/ +/* Function Macros */ +/*****************************************************************************/ /** ****************************************************************************** @@ -48,9 +52,12 @@ {\ out_status = ((1 << severity) | error);\ ps_codec->i4_error_code = out_status;\ - return (ret_code);\ + if (severity == IVE_FATALERROR) return (ret_code);\ } +/*****************************************************************************/ +/* Enums */ +/*****************************************************************************/ /** ****************************************************************************** @@ -254,4 +261,4 @@ typedef enum }IH264E_ERROR_T; -#endif /* IH264E_ERROR_H_ */ +#endif /* _IH264E_ERROR_H_ */ |