[Ffmpeg-devel] [PATCH] plain malloc in output_example.c
Sun Aug 20 17:25:37 CEST 2006
Michael Niedermayer wrote:
> On Sun, Aug 20, 2006 at 12:00:14AM -0300, Ramiro Polla wrote:
>> Shouldn't output_example.c use av_malloc() instead of plain malloc()? It
>> uses av_free(), so when --enable-memalign-hack is enabled, it allocates
>> an unaligned buffer, and tries to free it with the memalign hack.
>> Attached patch makes it work with --enable-memalign-hack.
> instead of changing several malloc() change one av_free()
malloc could be wrong... I haven't checked yet how much.
Think of the SIMD code...
More information about the ffmpeg-devel