[Ffmpeg-devel] [PATCH] Replace av_malloc+memset with av_mallocz

Rich Felker dalias
Thu Sep 7 16:55:56 CEST 2006


On Thu, Sep 07, 2006 at 10:03:43AM -0400, Daniel Serpell wrote:
> Hi!
> 
> El Wed, Sep 06, 2006 at 06:44:55PM -0400, Rich Felker escribio:
> > 
> > It would be nice if, when initializing a context, the caller could
> > specify the max memory usage by the context.. Maybe this is too
> > painful to support though.
> 
> It can be done easily now using custom av_malloc / av_free functions.

Not it can't because av_malloc does not take a context as an argument.
(I'm not saying it should, just that it can't do what I said.)

Rich





More information about the ffmpeg-devel mailing list