Hi Wenjie Yin On Tue, Nov 25, 2025 at 09:59:00AM +0000, Wenjie Yin via ffmpeg-devel wrote: > V4l2 drivers may return buffer width & height with aligned values, which > may be different from frame width & height. Bytesperlines and strides > should be check for aligned buffers when copying pixel data. When width > aligned, copy with planar; otherwise, copy line-by-line to dest buffer. > > Co-authored-by: Renjiang Han <[email protected]> > Signed-off-by: Wenjie Yin <[email protected]> > --- > libavcodec/v4l2_buffers.c | 97 +++++++++++++++++++++++++++++++++++---- > 1 file changed, 87 insertions(+), 10 deletions(-)
Doesnt apply: (the patch you posted a few minutes earlier applies cleanly though) Applying: libavcodec/v4l2_buffers: fixing buffer alignment issue Using index info to reconstruct a base tree... error: patch failed: libavcodec/v4l2_buffers.c:359 error: libavcodec/v4l2_buffers.c: patch does not apply error: Did you hand edit your patch? It does not apply to blobs recorded in its index. Patch failed at 0001 libavcodec/v4l2_buffers: fixing buffer alignment issue [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB In fact, the RIAA has been known to suggest that students drop out of college or go to community college in order to be able to afford settlements. -- The RIAA
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
