ffmpeg: fix 10l (use of uninitilaized variable)
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 22 Sep 2012 20:09:41 +0000 (22:09 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 22 Sep 2012 20:09:41 +0000 (22:09 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg_opt.c

index 0bdbd67..e46880c 100644 (file)
 
 #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;