[Libav-user] Audio aligned buffer in 32/64bit system.

Hector Alonso halonso at vpod.tv
Fri Aug 10 13:35:00 CEST 2012


Hello,

I'm developing a multiplatform player using libav and QT.
It works fine in Win32, MacOS and Linux, but I have a problem with audio in
Linux 64bits.

When I perform a search, my SwrContext pointer still at the same place but
I get segmentation fault when it gets to swr_convert function.
I guess it might be another data structure which is going out of bounds.
Also I have an audio cracking which changes when I modify the parameters of
my audio decoding buffer declared like this:


DECLARE_ALIGNED(16, uint8_t, m_tDecodingBuffer)[AVCODEC_MAX_AUDIO_FRAME_SIZE*4];


Is there any special configuration or data structure which depends of
the system word size?


Any clues?


Thank you.


Hector.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120810/17cfaf8d/attachment.html>


More information about the Libav-user mailing list