[FFmpeg-devel] [PATCH v2 3/9] avcodec/av1dec: support setup shear process
Wang, Fei W
fei.w.wang at intel.com
Fri Jul 9 06:36:33 EEST 2021
On Tue, 2021-07-06 at 18:19 +0200, Henrik Gramner wrote:
> On Mon, Jul 5, 2021 at 4:32 AM Fei Wang <fei.w.wang at intel.com> wrote:
> > + int64_t v, w;
> > + int32_t *param = &s->cur_frame.gm_params[idx][0];
>
> ...
> > + v = param[4] * (1 << AV1_WARPEDMODEL_PREC_BITS);
> > + w = param[3] * param[4];
>
> Possible integer overflow? Might need some int64_t casting before the
> multiplies.
Thanks, Fixed in V4.
Fei
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list