[FFmpeg-cvslog] fftools/cmdutils: Fix warning for initialization makes integer from pointer without a cast

Limin Wang git at videolan.org
Wed Sep 1 13:44:12 EEST 2021


ffmpeg | branch: master | Limin Wang <lance.lmwang at gmail.com> | Fri Aug 20 19:27:26 2021 +0800| [c500dc7cca73efb1289fce7ea1c1c7118800fb84] | committer: Limin Wang

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

Signed-off-by: Limin Wang <lance.lmwang at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c500dc7cca73efb1289fce7ea1c1c7118800fb84
---

 fftools/cmdutils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
index 2dd035a7cf..ae341184f6 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 = {



More information about the ffmpeg-cvslog mailing list