[FFmpeg-cvslog] r13565 - trunk/ffmpeg.c

Måns Rullgård mans
Sat May 31 14:04:14 CEST 2008


michael <subversion at mplayerhq.hu> writes:

> Author: michael
> Date: Fri May 30 22:30:29 2008
> New Revision: 13565
>
> Log:
> remove incorrect useage of av_free_static(), ffmpeg.c is not a
> windows dll which can be unloaded and loaded again.
>
> Modified:
>    trunk/ffmpeg.c
>
> Modified: trunk/ffmpeg.c
> ==============================================================================
> --- trunk/ffmpeg.c	(original)
> +++ trunk/ffmpeg.c	Fri May 30 22:30:29 2008
> @@ -392,8 +392,6 @@ static int av_exit(int ret)
>      for(i=0;i<nb_input_files;i++)
>          av_close_input_file(input_files[i]);
>
> -    av_free_static();
> -

Calling this even if not strictly necessary, makes finding memory
leaks with valgrind easier.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-cvslog mailing list