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.

Carl Eugen

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to