From: Niklas Haas <g...@haasn.dev> As fixed in the previous commit, this enables semipacked range and bit depth conversions. Previously these would go through the general purpose path.
Signed-off-by: Niklas Haas <g...@haasn.dev> Sponsored-by: Sovereign Tech Fund --- libswscale/swscale_unscaled.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c index ebc0fe33d2..957b02ef30 100644 --- a/libswscale/swscale_unscaled.c +++ b/libswscale/swscale_unscaled.c @@ -2665,7 +2665,7 @@ void ff_get_unscaled_swscale(SwsInternal *c) (isPlanarYUV(srcFormat) && isPlanarYUV(dstFormat) && c->chrDstHSubSample == c->chrSrcHSubSample && c->chrDstVSubSample == c->chrSrcVSubSample && - !isSemiPlanarYUV(srcFormat) && !isSemiPlanarYUV(dstFormat)))) + isSemiPlanarYUV(srcFormat) == isSemiPlanarYUV(dstFormat)))) { if (isPacked(c->opts.src_format)) c->convert_unscaled = packedCopyWrapper; -- 2.47.0 _______________________________________________ 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".