Message ID | 1639060556-1953-1-git-send-email-lance.lmwang@gmail.com |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,v2] avfilter/dnn: fix incompatible integer to pointer conversion warning | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
andriy/make_ppc | success | Make finished |
andriy/make_fate_ppc | success | Make fate finished |
diff --git a/libavfilter/dnn/dnn_backend_common.c b/libavfilter/dnn/dnn_backend_common.c index 6a9c4cc..dd7bdf4 100644 --- a/libavfilter/dnn/dnn_backend_common.c +++ b/libavfilter/dnn/dnn_backend_common.c @@ -83,10 +83,10 @@ static void *async_thread_routine(void *args) void *request = async_module->args; if (async_module->start_inference(request) != DNN_SUCCESS) { - return DNN_ASYNC_FAIL; + return (void*)DNN_ASYNC_FAIL; } async_module->callback(request); - return DNN_ASYNC_SUCCESS; + return(void*)DNN_ASYNC_SUCCESS; } DNNReturnType ff_dnn_async_module_cleanup(DNNAsyncExecModule *async_module)
From: Limin Wang <lance.lmwang@gmail.com> --- libavfilter/dnn/dnn_backend_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)