Message ID | D409HPG3DBKO.3QHKAU9N290E1@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [FFmpeg-devel] lavu/opt: av_opt_set_array: fix uninitialised return | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavutil/opt.c b/libavutil/opt.c index d2af76478c..81fc1c5994 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -2368,7 +2368,6 @@ int av_opt_set_array(void *obj, const char *name, int search_flags, val_type == AV_OPT_TYPE_FLOAT || val_type == AV_OPT_TYPE_DOUBLE || val_type == AV_OPT_TYPE_RATIONAL) { - int ret; switch (val_type) { case AV_OPT_TYPE_INT: intnum = *(int*)src; break;