mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-08 10:30:04 +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:
@@ -20,6 +20,7 @@ if(H265D_TEST)
|
|||||||
else()
|
else()
|
||||||
target_link_libraries(h265d_parser_test mpp_shared utils)
|
target_link_libraries(h265d_parser_test mpp_shared utils)
|
||||||
endif()
|
endif()
|
||||||
|
set_target_properties(h265d_parser_test PROPERTIES FOLDER "mpp/test")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
@@ -66,10 +66,10 @@ typedef enum VPU_API_DEMO_RET {
|
|||||||
|
|
||||||
|
|
||||||
typedef struct parserDemoCmdContext {
|
typedef struct parserDemoCmdContext {
|
||||||
|
char input_file[200];
|
||||||
|
char output_file[200];
|
||||||
RK_U32 width;
|
RK_U32 width;
|
||||||
RK_U32 height;
|
RK_U32 height;
|
||||||
RK_U8 input_file[200];
|
|
||||||
RK_U8 output_file[200];
|
|
||||||
RK_U8 have_input;
|
RK_U8 have_input;
|
||||||
RK_U8 have_output;
|
RK_U8 have_output;
|
||||||
RK_U8 disable_debug;
|
RK_U8 disable_debug;
|
||||||
|
@@ -216,8 +216,8 @@ static MPP_RET mpi_enqueue(MppCtx ctx, MppPortType type, MppTask task)
|
|||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
if (type >= MPP_PORT_BUTT || NULL == task) {
|
if (type >= MPP_PORT_BUTT || task < 0) {
|
||||||
mpp_err_f("invalid input type %d task %p\n", type, task);
|
mpp_err_f("invalid input type %d task %d\n", type, task);
|
||||||
return MPP_ERR_UNKNOW;
|
return MPP_ERR_UNKNOW;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user