From e10d120f95665ecccf926d0edf36f1878493c7ae Mon Sep 17 00:00:00 2001 From: ChenHengming Date: Wed, 12 Aug 2015 06:53:07 +0000 Subject: [PATCH] [mpp_err]: add existing error code git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@79 6e48237b-75ef-9749-8fc9-41990f28c85a --- inc/mpp_err.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/inc/mpp_err.h b/inc/mpp_err.h index bca87d53..6e7b21a1 100644 --- a/inc/mpp_err.h +++ b/inc/mpp_err.h @@ -23,6 +23,17 @@ typedef enum { MPP_SUCCESS = RK_SUCCESS, MPP_OK = RK_OK, -} RK_RET; + + MPP_ERR_UNKNOW = -1, + MPP_ERR_BASE = -1000, + + MPP_ERR_LIST_STREAM = MPP_ERR_BASE - 1, + MPP_ERR_INIT = MPP_ERR_BASE - 2, + MPP_ERR_VPU_CODEC_INIT = MPP_ERR_BASE - 3, + MPP_ERR_STREAM = MPP_ERR_BASE - 4, + MPP_ERR_FATAL_THREAD = MPP_ERR_BASE - 5, + MPP_EOS_STREAM_REACHED = MPP_ERR_BASE - 11, + +} MPP_RET; #endif /*__MPP_ERR_H__*/