[Libav-user] noise on mp3-decoding
lars.hammarstrand at gmail.com
Fri Apr 5 19:41:05 CEST 2013
With like __attribute__((aligned(32))), __attribute__((aligned(4))), or
unsigned char request[BUFFER_SIZE] __attribute__((aligned(32)));
2013/3/26 Alexey Belkevich <belkevich at mlsdev.com>
> Also, I found this note in avcodec_decode_audio4 description
> You might have to align the input buffer. The alignment requirements
> depend on the CPU and the decoder
> Is anyone know what it means? And how I can align buffer?
> I'm building an iOS audio player. I've tested playback in iOS Simulator
> (i386) and everything was fine. But when I've tested it on iPhone (ARM)
> there was only noise. Other formats are playing fine.
> I've done little research, and there what I found:
> 1) av_read_frame - returns the same data on both device and simulator
> (I've checked it in packet->data)
> 2) avcodec_decode_audio4 - returns DIFFERENT data on device and simulator
> (I've checked it in frame->data)
> Can it be related to ffmpeg compiling options?
> Any ideas?
> Alexey Belkevich
> Libav-user mailing list
> Libav-user at ffmpeg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user