On Wed, Mar 23, 2016 at 12:25:07PM +0000, Carl Eugen Hoyos wrote: > Chris Cunningham <chcunningham <at> chromium.org> writes: > > > 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 > > Iirc, alloc(0) crashes (or crashed) on osx. >
Wasn't it the free(posix_memalign(0)) because the pointer was invalid or something? -- Clément B.
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel