From eb949544caab31116743fbc63ba643916d84cedf Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 22 Sep 2012 22:09:41 +0200 Subject: [PATCH] ffmpeg: fix 10l (use of uninitilaized variable) Signed-off-by: Michael Niedermayer --- ffmpeg_opt.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index 0bdbd67e2b..e46880c91a 100644 --- a/ffmpeg_opt.c +++ b/ffmpeg_opt.c @@ -56,13 +56,11 @@ #define MATCH_PER_TYPE_OPT(name, type, outvar, fmtctx, mediatype)\ {\ - int i, ret;\ + int i;\ for (i = 0; i < o->nb_ ## name; i++) {\ char *spec = o->name[i].specifier;\ if (!strcmp(spec, mediatype))\ outvar = o->name[i].u.type;\ - else if (ret < 0)\ - exit_program(1);\ }\ } char *vstats_filename;