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

Michael Niedermayer michaelni
Fri Aug 25 18:55:31 CEST 2006


On Fri, Aug 25, 2006 at 12:09:40PM -0300, Ramiro Polla wrote:
> Hello,
> 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().

yes, patch ok

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is

More information about the ffmpeg-devel mailing list