Commit eb949544 authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: fix 10l (use of uninitilaized variable)

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 374033ee
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment