mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
ffmpeg: fix 10l (use of uninitilaized variable)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
374033ee93
commit
eb949544ca
@ -56,13 +56,11 @@
|
|||||||
|
|
||||||
#define MATCH_PER_TYPE_OPT(name, type, outvar, fmtctx, mediatype)\
|
#define MATCH_PER_TYPE_OPT(name, type, outvar, fmtctx, mediatype)\
|
||||||
{\
|
{\
|
||||||
int i, ret;\
|
int i;\
|
||||||
for (i = 0; i < o->nb_ ## name; i++) {\
|
for (i = 0; i < o->nb_ ## name; i++) {\
|
||||||
char *spec = o->name[i].specifier;\
|
char *spec = o->name[i].specifier;\
|
||||||
if (!strcmp(spec, mediatype))\
|
if (!strcmp(spec, mediatype))\
|
||||||
outvar = o->name[i].u.type;\
|
outvar = o->name[i].u.type;\
|
||||||
else if (ret < 0)\
|
|
||||||
exit_program(1);\
|
|
||||||
}\
|
}\
|
||||||
}
|
}
|
||||||
char *vstats_filename;
|
char *vstats_filename;
|
||||||
|
Loading…
Reference in New Issue
Block a user