Commit 923ee63d authored by Ruiling Song's avatar Ruiling Song Committed by Mark Thompson

lavfi/vf_avgblur_opencl: remove useless clFinish().

The very last clFinish() should be ok.
Signed-off-by: 's avatarRuiling Song <ruiling.song@intel.com>
Reviewed-by: 's avatarDanil Iashchenko <danyaschenko@gmail.com>
parent 48a1abed
...@@ -228,7 +228,6 @@ static int avgblur_opencl_filter_frame(AVFilterLink *inlink, AVFrame *input) ...@@ -228,7 +228,6 @@ static int avgblur_opencl_filter_frame(AVFilterLink *inlink, AVFrame *input)
0, NULL, NULL); 0, NULL, NULL);
CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to enqueue horizontal " CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to enqueue horizontal "
"kernel: %d.\n", cle); "kernel: %d.\n", cle);
cle = clFinish(ctx->command_queue);
err = ff_opencl_filter_work_size_from_image(avctx, global_work, err = ff_opencl_filter_work_size_from_image(avctx, global_work,
i == 0 ? output : intermediate, p, 0); i == 0 ? output : intermediate, p, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment