diff options
author | Ruiling Song <ruiling.song@intel.com> | 2018-07-03 21:16:25 +0300 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2018-07-12 01:05:02 +0300 |
commit | 923ee63d6cd140e1f957c838b1d062ca4fb73580 (patch) | |
tree | b4f26ee101ebdc72ddef9d195c29ac6384b35669 /libavfilter/vf_avgblur_opencl.c | |
parent | 48a1abed133d005aa4d7f49e4fdd5bef9aa263f5 (diff) |
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>
Diffstat (limited to 'libavfilter/vf_avgblur_opencl.c')
-rw-r--r-- | libavfilter/vf_avgblur_opencl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavfilter/vf_avgblur_opencl.c b/libavfilter/vf_avgblur_opencl.c index bc6bcab682..99ed1ca307 100644 --- a/libavfilter/vf_avgblur_opencl.c +++ b/libavfilter/vf_avgblur_opencl.c @@ -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); |