diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-27 21:41:10 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-01 01:35:42 +0100 |
commit | 72becd0627c54d6aa1ba85b21b190ff844915c67 (patch) | |
tree | 8b6b8ffe0752e5a82426227733c82ed97901dc03 /libavutil | |
parent | d36cb46681aa861b307e1fd378c543e1d84eb578 (diff) | |
download | ffmpeg-72becd0627c54d6aa1ba85b21b190ff844915c67.tar.gz |
avcodec/refstruct: Don't use STRIDE_ALIGN for alignment
It was always intended that the buffers returned by
RefStruct shall have the same alignment guarantees
as the buffers returned by av_malloc(); said alignment
depends upon the arch and the enabled instruction set
and the code used STRIDE_ALIGN as a proxy for this.
Yet since 7945d30e91b96d2f4f5b612048169087d214d41e
there is a better way to get av_malloc's alignment:
ALIGN_64 in mem_internal.h. So use this.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil')
0 files changed, 0 insertions, 0 deletions