[FFmpeg-devel] [PATCH 11/17] lavu/opt: add missing 'else'
Anton Khirnov
anton at khirnov.net
Thu Sep 26 19:18:55 EEST 2024
---
libavutil/opt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 ||
--
2.43.0
More information about the ffmpeg-devel
mailing list