mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01: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
1 changed files with 1 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue