[FFmpeg-devel] [PATCH] fftools/cmdutils: Fix warning for initialization makes integer from pointer without a cast
lance.lmwang at gmail.com
lance.lmwang at gmail.com
Fri Aug 20 16:29:33 EEST 2021
From: Limin Wang <lance.lmwang at gmail.com>
Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
---
fftools/cmdutils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
index 2dd035a..ae34118 100644
--- a/fftools/cmdutils.c
+++ b/fftools/cmdutils.c
@@ -853,7 +853,7 @@ int opt_cpucount(void *optctx, const char *opt, const char *arg)
int count;
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},
};
static const AVClass class = {
--
1.8.3.1
More information about the ffmpeg-devel
mailing list