michaelni via ffmpeg-devel (HE12026-06-07): > Subject: [PATCH 2/3] avfilter: add ff_slice_pos() helper for slice boundaries > > Slice based filter workers compute their per-thread row/sample/channel > boundaries as total * jobnr / nb_jobs. The total * jobnr product is > evaluated in int and overflows signed int for large dimensions and many > slice threads, before the division by nb_jobs brings it back in range. > --- > libavfilter/filters.h | 15 +++++++++++++++ > 1 file changed, 15 insertions(+)
> Subject: [PATCH 3/3] avfilter: use ff_slice_pos() for per-slice boundary > computation > > This is a behavior preserving change for all non-overflowing cases. > > Signed-off-by: Michael Niedermayer <[email protected]> Probably ok. I did not check all the changes in the third patch individually, they look straightforward enough. Regards, -- Nicolas George _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
