[FFmpeg-cvslog] lavu/opt: add missing 'else'
Anton Khirnov
git at videolan.org
Sat Sep 28 18:13:26 EEST 2024
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Wed Sep 25 20:49:47 2024 +0200| [9b764e9b491747aa85c47ecd210551ab001ca977] | committer: Anton Khirnov
lavu/opt: add missing 'else'
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9b764e9b491747aa85c47ecd210551ab001ca977
---
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 ||
More information about the ffmpeg-cvslog
mailing list