1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2026-06-19 19:03:00 +02:00

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.
This commit is contained in:
Zhao Zhili
2026-06-15 17:00:05 +08:00
committed by Niklas Haas
parent cd199a7d69
commit 4acfab044d
+2 -2
View File
@@ -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;
}