lavfi/vf_avgblur_opencl: remove useless clFinish().

The very last clFinish() should be ok.

Signed-off-by: Ruiling Song <ruiling.song@intel.com>
Reviewed-by: Danil Iashchenko <danyaschenko@gmail.com>
This commit is contained in:
Ruiling Song 2018-07-04 02:16:25 +08:00 committed by Mark Thompson
parent 48a1abed13
commit 923ee63d6c
1 changed files with 0 additions and 1 deletions

View File

@ -228,7 +228,6 @@ static int avgblur_opencl_filter_frame(AVFilterLink *inlink, AVFrame *input)
0, NULL, NULL);
CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to enqueue horizontal "
"kernel: %d.\n", cle);
cle = clFinish(ctx->command_queue);
err = ff_opencl_filter_work_size_from_image(avctx, global_work,
i == 0 ? output : intermediate, p, 0);