[FFmpeg-devel] [PATCH 1/2] swscale/unscaled: correctly copy semiplanar formats
Michael Niedermayer
michael at niedermayer.cc
Sun Dec 22 16:30:53 EET 2024
On Thu, Dec 19, 2024 at 03:07:59PM +0100, Niklas Haas wrote:
> From: Niklas Haas <git at haasn.dev>
>
> This fixes multiple bugs with semiplanar formats like NV12. Not only do these
> false positive the grayscale format checks (because dst[2] in NULL), but they
> also copied an incorrect number of pixels.
>
> Fixes conversions such as nv12 -> nv12, gray8 -> nv12, nv20le -> nv20be, etc.
>
> Fixes: ticket #11239
> Signed-off-by: Niklas Haas <git at haasn.dev>
> Sponsored-by: Sovereign Tech Fund
> ---
> libswscale/swscale_unscaled.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
should be ok
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241222/9bb0cedb/attachment.sig>
More information about the ffmpeg-devel
mailing list