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/ffmpeg_opt.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/ffmpeg_opt.c')
-rw-r--r-- | fftools/ffmpeg_opt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index 6526e8e3e8..910e4a336b 100644 --- a/fftools/ffmpeg_opt.c +++ b/fftools/ffmpeg_opt.c @@ -317,7 +317,7 @@ static int opt_filter_threads(void *optctx, const char *opt, const char *arg) static int opt_abort_on(void *optctx, const char *opt, const char *arg) { static const AVOption opts[] = { - { "abort_on" , NULL, 0, AV_OPT_TYPE_FLAGS, { .i64 = 0 }, INT64_MIN, INT64_MAX, .unit = "flags" }, + { "abort_on" , NULL, 0, AV_OPT_TYPE_FLAGS, { .i64 = 0 }, INT64_MIN, (double)INT64_MAX, .unit = "flags" }, { "empty_output" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = ABORT_ON_FLAG_EMPTY_OUTPUT }, .unit = "flags" }, { "empty_output_stream", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = ABORT_ON_FLAG_EMPTY_OUTPUT_STREAM }, .unit = "flags" }, { NULL }, |