yongdev
c9e36046a3
libswscale: use unaligned read/write macros in planarCopyWrapper
...
When performing unscaled planar copies or format conversions on 16-bit
buffers in planarCopyWrapper, srcPtr2 and dstPtr2 are not guaranteed to
be 8-byte aligned (e.g. subsampled chroma planes with non-multiple-of-8
widths/strides or odd slice offsets).
AV_RN64A / AV_WN64A and AV_RN32A / AV_WN32A cast pointers to av_alias64
or av_alias32 which have __attribute__((aligned(8))) or aligned(4).
Dereferencing unaligned pointers with aligned attribute triggers Undefined
Behavior traps (SIGILL / UD1 instruction with Clang -fsanitize=alignment).
Replace them with AV_RN64 / AV_WN64 and AV_RN32 / AV_WN32.
Signed-off-by: yongdev <yongdev@google.com >
2026-08-31 13:47:25 +00:00
..
2026-08-09 21:03:33 +02:00
2026-04-29 13:49:27 +03:00
2026-08-21 10:39:13 +00:00
2026-08-05 19:34:30 +00:00
2024-12-05 21:10:29 +01:00
2026-08-03 09:32:30 +00:00
2026-07-13 18:57:37 +09:00
2026-08-14 21:21:52 +02:00
2026-08-17 22:21:44 +00:00
2025-07-31 11:32:20 +00:00
2024-10-07 19:51:34 +02:00
2026-08-14 10:41:40 +02:00
2025-03-14 19:50:44 +01:00
2025-04-03 06:04:57 +02:00
2026-08-03 09:32:30 +00:00
2026-06-20 03:08:21 +02:00
2026-06-20 03:08:21 +02:00
2026-08-03 09:32:30 +00:00
2026-08-03 09:32:30 +00:00
2026-04-10 15:12:18 +02:00
2024-10-24 22:50:00 +02:00
2026-08-14 10:41:40 +02:00
2026-08-09 21:03:33 +02:00
2022-08-19 22:09:36 +02:00
2026-08-05 19:34:30 +00:00
2024-12-05 21:10:29 +01:00
2026-06-05 22:33:58 +02:00
2026-07-16 08:32:50 +00:00
2026-07-16 08:32:50 +00:00
2026-08-03 09:32:30 +00:00
2026-08-03 09:32:30 +00:00
2026-07-16 08:32:50 +00:00
2026-08-14 10:41:40 +02:00
2026-07-01 05:03:34 +02:00
2026-06-19 14:32:02 +00:00
2026-08-09 21:03:33 +02:00
2026-07-14 12:24:01 +00:00
2026-07-17 13:23:21 +00:00
2026-08-09 21:03:33 +02:00
2026-08-09 21:03:33 +02:00
2026-08-09 21:03:33 +02:00
2026-08-03 09:32:30 +00:00
2026-07-13 18:57:37 +09:00
2026-07-05 00:05:36 +00:00
2026-06-25 01:20:15 +02:00
2026-06-28 14:14:07 +00:00
2026-06-05 01:14:02 +00:00
2026-03-01 23:45:11 +00:00
2026-03-01 23:45:11 +00:00
2024-12-16 12:21:55 +01:00
2026-08-14 10:41:40 +02:00
2026-08-31 13:47:25 +00:00
2026-08-14 10:41:40 +02:00
2026-07-13 18:57:37 +09:00
2026-08-03 09:32:30 +00:00
2026-08-03 09:32:30 +00:00
2026-08-14 10:41:40 +02:00
2026-08-09 21:03:33 +02:00
2026-08-03 09:32:30 +00:00
2026-06-19 14:32:02 +00:00
2026-08-03 09:32:30 +00:00
2026-08-03 09:32:30 +00:00
2026-08-25 16:06:34 +00:00
2026-06-23 19:15:57 +02:00
2024-03-31 00:08:42 +01:00
2026-06-26 02:47:51 +02:00
2024-11-21 12:49:56 +01:00
2026-06-10 17:54:20 +00:00