[Ffmpeg-devel] [PATCH] plain malloc in output_example.c

Ramiro Polla ramiro86
Sun Aug 20 05:00:14 CEST 2006


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.

Ramiro Polla

-------------- next part --------------
A non-text attachment was scrubbed...
Name: output_example_av_malloc.patch
Type: application/octet-stream
Size: 1404 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060820/1a8da04c/attachment.obj>

More information about the ffmpeg-devel mailing list