aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/utils.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2024-12-19 14:41:34 +0100
committerNiklas Haas <git@haasn.dev>2024-12-23 11:31:58 +0100
commit77db7f9b87811aa588e6ab6a7256f7cd8267265d (patch)
treeb17f7f041a08da1446805ad67cfa62b5bd424a06 /libswscale/utils.c
parentc6bf7f664527842fa3b89e49dc2a43f639430c33 (diff)
downloadffmpeg-77db7f9b87811aa588e6ab6a7256f7cd8267265d.tar.gz
swscale/unscaled: correctly copy semiplanar formats
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: #11239 Signed-off-by: Niklas Haas <git@haasn.dev> Sponsored-by: Sovereign Tech Fund
Diffstat (limited to 'libswscale/utils.c')
0 files changed, 0 insertions, 0 deletions