Benjamin Larsson <[email protected]> added the comment: Dirk wrote: > Dirk <[email protected]> added the comment: > > My current understanding of the alignment property, > The address of the buffer starts on an address that can be divided by 16. > > Is this correct? >
IIRC sse needs 16 bytes alignment. Thus everything that uses sse needs 16 bytes aligned buffers, other simd implementations might need others. But in this case 16 is correct. If you want the buffer in your class, you can make the buffer 15 (or something) bytes bigger and recalculate the pointer so it is 16 bytes aligned. MvH Benjamin Larsson ---------- title: Segmentation fault when decoding ogg vorbis file with sse enabled -> Segmentation fault when decoding ogg vorbis file with sse enabled _____________________________________________________ FFmpeg issue tracker <[email protected]> <https://roundup.ffmpeg.org/roundup/ffmpeg/issue1146> _____________________________________________________
