avfilter/deshake_opencl: Remove redundant return
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 30 Mar 2017 20:21:29 +0000 (22:21 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 30 Mar 2017 20:46:31 +0000 (22:46 +0200)
Fixes: CID1396846

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavfilter/deshake_opencl.c

index 91ae7d5..877ec1d 100644 (file)
@@ -194,7 +194,5 @@ int ff_opencl_deshake_process_inout_buf(AVFilterContext *ctx, AVFrame *in, AVFra
                                  deshake->opencl_ctx.cl_inbuf_size,
                                  0, in->data,deshake->opencl_ctx.in_plane_size,
                                  deshake->opencl_ctx.plane_num);
-    if(ret < 0)
-        return ret;
     return ret;
 }