[Ffmpeg-devel] [PATCH] plain malloc in output_example.c
Fri Aug 25 17:09:40 CEST 2006
Michael Niedermayer wrote:
>>>>> nope, sorry ...
>>>>> the original patch is ok if you add some note which says that the
>>>>> buffers passed into lav* can be allocated any way the user likes
>>>>> as long as they are aligned by enough for the architecture
>> New patch attached. Is the info text good?
Actually, looking at the patch again, I think it's best to specifically
say to use consistent functions for allocating and freeing.
One must not assume av_free() is an alias for free() and av_malloc() is
an alias for malloc().
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel