Re: [FFmpeg-devel] [PATCH] avcodec/ratecontrol: fix the integer overflow after long time run

2020-06-02 Thread lance . lmwang
On Tue, Jun 02, 2020 at 11:39:03PM +0200, Michael Niedermayer wrote: > On Mon, Jun 01, 2020 at 09:53:49PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavcodec/ratecontrol.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2

Re: [FFmpeg-devel] [PATCH] avcodec/ratecontrol: fix the integer overflow after long time run

2020-06-02 Thread Michael Niedermayer
On Mon, Jun 01, 2020 at 09:53:49PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/ratecontrol.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) LGTM thx [...] -- Michael GnuPG fingerprint:

[FFmpeg-devel] [PATCH] avcodec/ratecontrol: fix the integer overflow after long time run

2020-06-01 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/ratecontrol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c index 49d169b..6b77ccd 100644 --- a/libavcodec/ratecontrol.c +++ b/libavcodec/ratecontrol.c @@