Quoting Niklas Haas (2024-12-19 15:07:59)
> From: Niklas Haas <g...@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 <g...@haasn.dev>
> Sponsored-by: Sovereign Tech Fund
> ---
>  libswscale/swscale_unscaled.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)

Do we have no tests for this?

-- 
Anton Khirnov
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to