aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg_opt.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-22 22:09:41 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-22 22:09:41 +0200
commiteb949544caab31116743fbc63ba643916d84cedf (patch)
tree748051e69a4ebad7e19e2553238667bc14c4fbbe /ffmpeg_opt.c
parent374033ee93b5ff2577a63e07e10307d435e80885 (diff)
downloadffmpeg-eb949544caab31116743fbc63ba643916d84cedf.tar.gz
ffmpeg: fix 10l (use of uninitilaized variable)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r--ffmpeg_opt.c4
1 files changed, 1 insertions, 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;