mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-22 23:33:07 +00:00
lavu/opencl_internal: use av_opencl_errstr
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
9a09a9fc43
commit
41aa199998
@ -47,7 +47,7 @@ int ff_opencl_set_parameter(FFOpenclParam *opencl_param, ...)
|
||||
}
|
||||
status = clSetKernelArg(opencl_param->kernel, opencl_param->param_num, param_size, param);
|
||||
if (status != CL_SUCCESS) {
|
||||
av_log(opencl_param->ctx, AV_LOG_ERROR, "Cannot set kernel argument: %d\n", status);
|
||||
av_log(opencl_param->ctx, AV_LOG_ERROR, "Cannot set kernel argument: %s\n", av_opencl_errstr(status));
|
||||
ret = AVERROR_EXTERNAL;
|
||||
goto end;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user