[FFmpeg-devel] [PATCH 2/2] avfilter: Fix type in av_log for random_seed in cellauto and life

Michael Niedermayer michael at niedermayer.cc
Thu Dec 12 21:56:42 EET 2019


On Thu, Dec 12, 2019 at 08:21:47PM +0100, Andreas Rheinhardt wrote:
> On Sat, Dec 7, 2019 at 10:27 AM Michael Niedermayer <michael at niedermayer.cc>
> wrote:
> 
> > Fixes CID 1456556 / 1456555
> >
> > Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> > ---
> >  libavfilter/vsrc_cellauto.c | 2 +-
> >  libavfilter/vsrc_life.c     | 2 +-
> >  2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/libavfilter/vsrc_cellauto.c b/libavfilter/vsrc_cellauto.c
> > index c75460334e..6fd812c54f 100644
> > --- a/libavfilter/vsrc_cellauto.c
> > +++ b/libavfilter/vsrc_cellauto.c
> > @@ -199,7 +199,7 @@ static av_cold int init(AVFilterContext *ctx)
> >      }
> >
> >      av_log(ctx, AV_LOG_VERBOSE,
> > -           "s:%dx%d r:%d/%d rule:%d stitch:%d scroll:%d full:%d
> > seed:%"PRIu32"\n",
> > +           "s:%dx%d r:%d/%d rule:%d stitch:%d scroll:%d full:%d
> > seed:%"PRId64"\n",
> >             s->w, s->h, s->frame_rate.num, s->frame_rate.den,
> >             s->rule, s->stitch, s->scroll, s->start_full,
> >             s->random_seed);
> > diff --git a/libavfilter/vsrc_life.c b/libavfilter/vsrc_life.c
> > index 4c0ea73d8a..5932c2395b 100644
> > --- a/libavfilter/vsrc_life.c
> > +++ b/libavfilter/vsrc_life.c
> > @@ -260,7 +260,7 @@ static av_cold int init(AVFilterContext *ctx)
> >      }
> >
> >      av_log(ctx, AV_LOG_VERBOSE,
> > -           "s:%dx%d r:%d/%d rule:%s stay_rule:%d born_rule:%d stitch:%d
> > seed:%"PRIu32"\n",
> > +           "s:%dx%d r:%d/%d rule:%s stay_rule:%d born_rule:%d stitch:%d
> > seed:%"PRId64"\n",
> >             life->w, life->h, life->frame_rate.num, life->frame_rate.den,
> >             life->rule_str, life->stay_rule, life->born_rule, life->stitch,
> >             life->random_seed);
> > --
> >
> 
> LGTM.

will apply

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191212/f03f95bf/attachment.sig>


More information about the ffmpeg-devel mailing list