[Ffmpeg-devel] [PATCH] free codec extradata

Måns Rullgård mru
Fri Jun 16 09:55:08 CEST 2006


Michael Niedermayer <michaelni at gmx.at> writes:

> Hi
>
> On Thu, Jun 15, 2006 at 11:12:47PM +0100, M?ns Rullg?rd wrote:
>> Many of the lavf demuxers allocate space in AVCodecContext.extradata,
>> but only a few of them free it.  It makes sense to me to free this
>> data in av_close_input_file, especially since av_find_stream_info can
>> allocate it as well.  The attached patch makes this change.  Did I
>> miss something, or is this not the proper way for some reason?
>
> hmm, apply it and we will see :)

Done.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list