[Ffmpeg-devel] Re: DV decoding crash [ plus PATCHES]

Burkhard Plaum plaum
Mon Jan 16 15:16:47 CET 2006


Hi,

> If not, could somebody, please remind me if there's a hook for the event
> of the entire libavcodec closing/"exiting" ?

you can use av_mallocz_static() to allocate the dv_anchor. The memory
will be freed automatically then.

What's currently missing is an av_malloc_static(). Maybe this would
prevent some overhead of setting the memory to zero when this is not 
needed.

Burkhard






More information about the ffmpeg-devel mailing list