diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-09-25 20:49:47 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-09-28 17:04:33 +0200 |
commit | 9b764e9b491747aa85c47ecd210551ab001ca977 (patch) | |
tree | bfe5aecec00bc1a4b0c7599b1768c02403fa1364 /libavutil/opt.c | |
parent | ca860d8d07f159ddcefc4ec0289a46cfdeee9150 (diff) | |
download | ffmpeg-9b764e9b491747aa85c47ecd210551ab001ca977.tar.gz |
lavu/opt: add missing 'else'
Diffstat (limited to 'libavutil/opt.c')
-rw-r--r-- | libavutil/opt.c | 2 |
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 || |