1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-04-19 09:02:26 +02:00

fftools/cmdutils: Fix warning for initialization makes integer from pointer without a cast

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
Limin Wang 2021-08-20 19:27:26 +08:00
parent 034133a0df
commit c500dc7cca

View File

@ -853,7 +853,7 @@ int opt_cpucount(void *optctx, const char *opt, const char *arg)
int count; int count;
static const AVOption opts[] = { static const AVOption opts[] = {
{"count", NULL, 0, AV_OPT_TYPE_INT, { .i64 = -1}, -1, INT_MAX, NULL}, {"count", NULL, 0, AV_OPT_TYPE_INT, { .i64 = -1}, -1, INT_MAX},
{NULL}, {NULL},
}; };
static const AVClass class = { static const AVClass class = {