diff options
author | Zhao Zhili <zhilizhao@tencent.com> | 2024-04-17 12:37:42 +0800 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2024-04-23 16:09:09 +0800 |
commit | 1b416311852c085bd91743486df2086f508efdcd (patch) | |
tree | 8636bfb7f316c8a69ffe802c41cf87f15dd12880 /fftools/cmdutils.c | |
parent | 66161166dccd9f9d6c1d0fa39edb0d170aff52d1 (diff) | |
download | ffmpeg-1b416311852c085bd91743486df2086f508efdcd.tar.gz |
fftools: Fix implicit-const-int-float-conversion warning
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'fftools/cmdutils.c')
-rw-r--r-- | fftools/cmdutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index 2120fc7935..a8f5c6d89b 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@ -311,7 +311,7 @@ static int write_option(void *optctx, const OptionDef *po, const char *opt, *(int *)dst = num; } else if (po->type == OPT_TYPE_INT64) { - ret = parse_number(opt, arg, OPT_TYPE_INT64, INT64_MIN, INT64_MAX, &num); + ret = parse_number(opt, arg, OPT_TYPE_INT64, INT64_MIN, (double)INT64_MAX, &num); if (ret < 0) goto finish; |