[Ffmpeg-devel] newbie - AVCodecContext->extradata

Marlon Mircevski marlon
Thu Jun 1 12:48:37 CEST 2006

this is a newbie question, so please excuse me if I'm asking something 

When I'm using file with CODEC_ID_MP2 for decoding, the extradata from 
AVCodecContext allocated in av_find_stream_info is not free-ed at the 
end (after avcodec_close).

Can I free it in avcodec_close (..\ffmpeg\libavcodec\utils.c) with 
av_freep(&avctx->extradata); or it is freed somewhere?


More information about the ffmpeg-devel mailing list