[vlc-devel] [PATCH] contrib/libmad: fixed compilation for iOS

Felix Paul Kühne fkuehne.videolan at gmail.com
Mon Aug 6 18:28:17 CEST 2012

On 06.08.2012, at 18:16, Rémi Denis-Courmont wrote:

> Le lundi 6 août 2012 16:44:02 Felix Paul Kühne, vous avez écrit :
>> the attached patch fixes the compilation of libmad for iOS. Basically, I
>> need to disable the ARM assembly optimization because of the current clang
>> release, which refuses most of the code. This might be fixed in the long
>> run, but at least we got something working today.
> You might as well disable libmad and use libav.

That's what I was doing in the past. However, the libav assembly includes a nasty bug which leads to highly distorted playback on mp3 tracks. It doesn't occur on any other codec and they are not aware of such an issue so far. It works great when disabling So, this is a work-around.

Anyway, here's a new patch which also enables libmad's ARM assembly code.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-contrib-libmad-fixed-compilation-for-iOS.patch
Type: application/octet-stream
Size: 2226 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120806/6197367f/attachment.obj>

More information about the vlc-devel mailing list