[libav-api] problem handling aac/ac3 data...

Luca Barbato lu_zero at gentoo.org
Thu Jun 2 22:14:20 CEST 2011


On 6/1/11 3:56 PM, wecing wrote:
> Hi,
>
> Recently I'm trying to write a simple video player with libav. I tested my
> program with three video files; one encoded in mpeg4/mp2(64kbps), one in
> h264/aac(95kbps), and one in h264/ac3(384kbps).
> Playing of the first file is as perfect as I expected -- but the other two
> are not. They both encountered segment fault at
> float_to_int16_interleave_sse2, and here are the backtracks:

> Any idea? Full code is totally about 700 lines, so it would be hard to put
> it here.

Make sure the audio buffer is aligned properly (av_malloc does that for you)

lu


More information about the libav-api mailing list