PR #23486 opened by Zhao Zhili (quink) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23486 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23486.patch
# Summary of changes check_write() matched against SWS_UOP_READ_PACKED/PLANAR, copied from check_read(), instead of SWS_UOP_WRITE_PACKED/PLANAR. <!-- If this PR requires new FATE test samples, attach them to the PR and list their target paths below (relative to the fate-suite root). Attached filenames must match the sample's filename: ```fate-samples # e.g. vorbis/new-sample.ogg ``` --> >From 32aaa49e284a5cdf851dbf14ea25d44836bc2c05 Mon Sep 17 00:00:00 2001 From: Zhao Zhili <[email protected]> Date: Mon, 15 Jun 2026 17:00:05 +0800 Subject: [PATCH] checkasm/sw_ops: fix typo in write operations check_write() matched against SWS_UOP_READ_PACKED/PLANAR, copied from check_read(), instead of SWS_UOP_WRITE_PACKED/PLANAR. --- tests/checkasm/sw_ops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/checkasm/sw_ops.c b/tests/checkasm/sw_ops.c index 99140ced52..7e30b70ca7 100644 --- a/tests/checkasm/sw_ops.c +++ b/tests/checkasm/sw_ops.c @@ -431,8 +431,8 @@ static void check_write(const char *name, const SwsUOp *uop) switch (uop->uop) { case SWS_UOP_WRITE_BIT: case SWS_UOP_WRITE_NIBBLE: - case SWS_UOP_READ_PACKED: mode = SWS_RW_PACKED; break; - case SWS_UOP_READ_PLANAR: mode = SWS_RW_PLANAR; break; + case SWS_UOP_WRITE_PACKED: mode = SWS_RW_PACKED; break; + case SWS_UOP_WRITE_PLANAR: mode = SWS_RW_PLANAR; break; default: return; } -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
