mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-07 10:00:55 +08:00
[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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user