Hi, On Wed, Mar 23, 2016 at 8:32 AM, Ronald S. Bultje <rsbul...@gmail.com> wrote:
> Hi, > > On Wed, Mar 23, 2016 at 2:43 AM, Chris Cunningham < > chcunning...@chromium.org> wrote: > >> Hey Group, >> >> I'm seeing an interesting pattern [0][1] where we allocate 1 byte in >> places >> where I would expect no allocation to be necessary. Why is this being >> done? >> >> [0] https://github.com/FFmpeg/FFmpeg/blob/master/libavutil/mem.c#L136 >> [1] >> >> https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/oggparsevorbis.c#L286 > > > On certain versions of Mac, posix_memalign() with align=32 returns > corrupted addresses [1]. This is a workaround for that bug. > Crap, sorry, I meant align=32 and size=0. Ronald _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel