Message ID | 20240427235424.3075968-7-michael@niedermayer.cc |
---|---|
State | Accepted |
Commit | d9b9fc4be26014eb7221d9bbc297a5323d5ad40b |
Headers | show |
Series | [FFmpeg-devel,01/10] fftools/ffmpeg_enc: simplify opaque_ref check | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
On Sun, Apr 28, 2024 at 01:54:21AM +0200, Michael Niedermayer wrote: > issue found while reviewing CID1452612 Free of array-typed value > > Sponsored-by: Sovereign Tech Fund > Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> > --- > fftools/cmdutils.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) will apply [...]
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index a8f5c6d89b4..d28f5f3a8bd 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@ -578,7 +578,7 @@ static const AVOption *opt_find(void *obj, const char *name, const char *unit, return o; } -#define FLAGS (o->type == AV_OPT_TYPE_FLAGS && (arg[0]=='-' || arg[0]=='+')) ? AV_DICT_APPEND : 0 +#define FLAGS ((o->type == AV_OPT_TYPE_FLAGS && (arg[0]=='-' || arg[0]=='+')) ? AV_DICT_APPEND : 0) int opt_default(void *optctx, const char *opt, const char *arg) { const AVOption *o;
issue found while reviewing CID1452612 Free of array-typed value Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> --- fftools/cmdutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)