summaryrefslogtreecommitdiff
path: root/libavcodec/lossless_videoencdsp.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-04-04 03:45:57 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-04-04 23:57:19 +0200
commita4800643bba40cf8461406aa078da93e42e6ea6c (patch)
tree9088add2827616c4b1855225070174efa5269f1e /libavcodec/lossless_videoencdsp.h
parente54696bcaa0819674e2f9bc7c9a4c87383675091 (diff)
avcodec/lossless_videoencdsp: Don't presume alignment in diff_bytes
The alignment of all the parameters in diff_bytes can be anything the despite the documentation claiming otherwise. 8ecd38312210d48ec9e50d78fc223d60e71a30ed was based around said documentation and is therefore insufficient to fix e.g. the misaligned loads that happen in the huffyuvbgra and huffyuvbgr24 vsynth FATE-tests. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/lossless_videoencdsp.h')
-rw-r--r--libavcodec/lossless_videoencdsp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/lossless_videoencdsp.h b/libavcodec/lossless_videoencdsp.h
index 07fff584af..7fd0ad32c7 100644
--- a/libavcodec/lossless_videoencdsp.h
+++ b/libavcodec/lossless_videoencdsp.h
@@ -23,8 +23,8 @@
#include <stdint.h>
typedef struct LLVidEncDSPContext {
- void (*diff_bytes)(uint8_t *dst /* align 16 */,
- const uint8_t *src1 /* align 16 */,
+ void (*diff_bytes)(uint8_t *dst /* align 1 */,
+ const uint8_t *src1 /* align 1 */,
const uint8_t *src2 /* align 1 */,
intptr_t w);
/**