Message ID | 1629466173-8613-1-git-send-email-lance.lmwang@gmail.com |
---|---|
State | Accepted |
Commit | c500dc7cca73efb1289fce7ea1c1c7118800fb84 |
Headers | show |
Series | [FFmpeg-devel] fftools/cmdutils: Fix warning for initialization makes integer from pointer without a cast | expand |
Context | Check | Description |
---|---|---|
andriy/x86_make | success | Make finished |
andriy/x86_make_fate | success | Make fate finished |
andriy/PPC64_make | success | Make finished |
andriy/PPC64_make_fate | success | Make fate finished |
On Fri, Aug 20, 2021 at 09:29:33PM +0800, lance.lmwang@gmail.com wrote: > From: Limin Wang <lance.lmwang@gmail.com> > > Signed-off-by: Limin Wang <lance.lmwang@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 > will apply tomorrow unless there are objections.
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 = {