mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-12-26 11:17:44 +01:00
[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:
parent
4095254e99
commit
e10d120f95
1 changed files with 12 additions and 1 deletions
|
|
@ -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__*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue