[Ffmpeg-devel] to free AVFormatContext pointer.

Jaime inf220
Wed Dec 6 22:07:22 CET 2006


Hi,
i want to free the AVFormatContext *input_files/output_files pointer in 
the ffmpeg.c file.
Since it has nested pointers to quite all structures within the ffmpeg 
universe...
Does av_freep() manage the job(just calling it on input_files)? or do i 
have to write a recursive function going through all nested pointers and 
freeing them "manually".

If so, can i use av_freep() all of the time? or are for example the 
char* pointers allocated with the "normal" malloc?

in fear im going to get the "hard way" response... :)





More information about the ffmpeg-devel mailing list