lavu/opt: add missing 'else'

(cherry picked from commit 9b764e9b49)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
release/7.1
Anton Khirnov 4 months ago
parent 9ada04faa3
commit 55d0c353fe
  1. 2
      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 ||

Loading…
Cancel
Save