avfilter/lavfutils: remove redundant variable init
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 2 Aug 2014 18:03:10 +0000 (20:03 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 2 Aug 2014 18:03:10 +0000 (20:03 +0200)
Found-by: CSA
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/lavfutils.c

index 93f1ef3..ebdf8f8 100644 (file)
@@ -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;