[FFmpeg-devel] [PATCH 1/2] lavc/aac_ac3_parser: fix the potential overflow
Alexander Strasser
eclipse7 at gmx.net
Wed Aug 12 18:42:04 EEST 2020
On 2020-07-31 09:45 +0800, mypopy at gmail.com wrote:
> On Fri, Jul 31, 2020 at 3:47 AM Alexander Strasser <eclipse7 at gmx.net> wrote:
> >
> > On 2020-07-30 21:18 +0800, mypopy at gmail.com wrote:
> > >
> > > After repeated thinkingļ¼ I can accept this solution, thx
> >
> > Just to avoid confusion. You accept this
> >
> > > > > > avctx->bit_rate += (s->bit_rate - avctx->bit_rate) / s->frame_number;
> >
> This part for potential overflow :)
Finally pushed. Thx!
[...]
Alexander
More information about the ffmpeg-devel
mailing list