[FFmpeg-cvslog] avfilter/lavfutils: remove redundant variable init

Michael Niedermayer git at videolan.org
Sat Aug 2 20:20:04 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Aug  2 20:03:10 2014 +0200| [17fef17f67c52ff834fe1a2894393170768fcf0a] | committer: Michael Niedermayer

avfilter/lavfutils: remove redundant variable init

Found-by: CSA
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavfilter/lavfutils.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavfilter/lavfutils.c b/libavfilter/lavfutils.c
index 93f1ef3..ebdf8f8 100644
--- a/libavfilter/lavfutils.c
+++ b/libavfilter/lavfutils.c
@@ -79,7 +79,6 @@ int ff_load_image(uint8_t *data[4], int linesize[4],
         av_log(log_ctx, AV_LOG_ERROR, "Failed to decode image from file\n");
         goto end;
     }
-    ret = 0;
 
     *w       = frame->width;
     *h       = frame->height;



More information about the ffmpeg-cvslog mailing list