aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/opt.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-09-25 20:49:47 +0200
committerAnton Khirnov <anton@khirnov.net>2024-09-28 17:04:33 +0200
commit9b764e9b491747aa85c47ecd210551ab001ca977 (patch)
treebfe5aecec00bc1a4b0c7599b1768c02403fa1364 /libavutil/opt.c
parentca860d8d07f159ddcefc4ec0289a46cfdeee9150 (diff)
downloadffmpeg-9b764e9b491747aa85c47ecd210551ab001ca977.tar.gz
lavu/opt: add missing 'else'
Diffstat (limited to 'libavutil/opt.c')
-rw-r--r--libavutil/opt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/opt.c b/libavutil/opt.c
index 45db4f484f..02ed9d9fe9 100644
--- a/libavutil/opt.c
+++ b/libavutil/opt.c
@@ -2362,7 +2362,7 @@ int av_opt_set_array(void *obj, const char *name, int search_flags,
ret = opt_set_elem(obj, target_obj, o, *(const char **)src, dst);
if (ret < 0)
goto fail;
- } if (val_type == AV_OPT_TYPE_INT ||
+ } else if (val_type == AV_OPT_TYPE_INT ||
val_type == AV_OPT_TYPE_INT64 ||
val_type == AV_OPT_TYPE_FLOAT ||
val_type == AV_OPT_TYPE_DOUBLE ||