[Ffmpeg-cvslog] CVS: ffmpeg output_example.c,1.19,1.20

Michael Niedermayer CVS michael
Mon Feb 6 13:45:54 CET 2006


Update of /cvsroot/ffmpeg/ffmpeg
In directory mail:/var2/tmp/cvs-serv4533

Modified Files:
	output_example.c 
Log Message:
fix memleak, based upon a patch by Wolfram Gloger


Index: output_example.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/output_example.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- output_example.c	30 Jan 2006 23:33:16 -0000	1.19
+++ output_example.c	6 Feb 2006 12:45:52 -0000	1.20
@@ -512,6 +512,7 @@
 
     /* free the streams */
     for(i = 0; i < oc->nb_streams; i++) {
+        av_freep(&oc->streams[i]->codec);
         av_freep(&oc->streams[i]);
     }
 





More information about the ffmpeg-cvslog mailing list