[FFmpeg-devel] [PATCH] avcodec/hevc_refs: don't use the frame's AVBufferRef sizes when initializing planes

Hendrik Leppkes h.leppkes at gmail.com
Tue Mar 8 15:02:50 EET 2022


On Tue, Mar 8, 2022 at 1:58 PM James Almer <jamrial at gmail.com> wrote:
>
> Could we for that matter change AVFrame linesize to ptrdiff_t in the
> next bump? Alongside the relevant imgutils helpers, if possible.
> Half this patch is just doing int -> ptrdiff_t, which is why it looks so
> big.

Its definitely long overdue, having half the frame API already use
size_t/ptrdiff_t makes for really annoying conversion loops when
trying to use them.

- Hendrik


More information about the ffmpeg-devel mailing list