[FFmpeg-cvslog] avfilter/deshake_opencl: Remove redundant return

Michael Niedermayer git at videolan.org
Thu Mar 30 23:47:12 EEST 2017


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Thu Mar 30 22:21:29 2017 +0200| [4798237f01cf7f27e5528bbbfdc6ef40a0b50660] | committer: Michael Niedermayer

avfilter/deshake_opencl: Remove redundant return

Fixes: CID1396846

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4798237f01cf7f27e5528bbbfdc6ef40a0b50660
---

 libavfilter/deshake_opencl.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavfilter/deshake_opencl.c b/libavfilter/deshake_opencl.c
index 91ae7d5..877ec1d 100644
--- a/libavfilter/deshake_opencl.c
+++ b/libavfilter/deshake_opencl.c
@@ -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;
 }



More information about the ffmpeg-cvslog mailing list