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

Ramiro Polla angustia
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?
> ok
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().

Ramiro Polla
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: output_example_av_malloc_3.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060825/acb31d02/attachment.txt>

More information about the ffmpeg-devel mailing list