Re: [FFmpeg-devel] [PATCH] avcodec/apedec: fix prediction

2022-06-30 Thread Paul B Mahol
On Thu, Jun 30, 2022 at 10:31 AM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > Zhao Zhili: > > From: Zhao Zhili > > > > Fixes ticket #9816. > > Regression since ed0001482a74b60f3d5bc5. > > > > Prediction value larger than INT32_MAX should be treated as > > negative. The code alrea

Re: [FFmpeg-devel] [PATCH] avcodec/apedec: fix prediction

2022-06-30 Thread Andreas Rheinhardt
Zhao Zhili: > From: Zhao Zhili > > Fixes ticket #9816. > Regression since ed0001482a74b60f3d5bc5. > > Prediction value larger than INT32_MAX should be treated as > negative. The code already depends on undefined right shift > behavior before the patch, which doesn't get fixed by the patch. > >