[h265d]: remove warning on Linux and move h265d_parser_test to mpp/test directory

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@917 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2016-06-15 08:17:59 +00:00
parent dad9a72f52
commit 4a763f62d4
3 changed files with 5 additions and 4 deletions

View File

@@ -216,8 +216,8 @@ static MPP_RET mpi_enqueue(MppCtx ctx, MppPortType type, MppTask task)
if (ret)
return ret;
if (type >= MPP_PORT_BUTT || NULL == task) {
mpp_err_f("invalid input type %d task %p\n", type, task);
if (type >= MPP_PORT_BUTT || task < 0) {
mpp_err_f("invalid input type %d task %d\n", type, task);
return MPP_ERR_UNKNOW;
}