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;