[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
This commit is contained in:
ChenHengming
2015-08-12 06:53:07 +00:00
parent 4095254e99
commit e10d120f95

View File

@@ -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__*/