Benjamin Larsson <[email protected]> added the comment: Dirk wrote: > Dirk <[email protected]> added the comment: > > I'm not familiar with the aligned attribute, but when I define my buffer like > this I still get the segfault. > > uint8_t m_AudioBuffer[(AVCODEC_MAX_AUDIO_FRAME_SIZE * 3) / 2] __attribute__ > ((aligned (16))); >
Print the buffer address and see if the alignment actually works. 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> _____________________________________________________
