[Ffmpeg-cvslog] CVS: ffmpeg qt-faststart.c,1.6,1.7

Baptiste Coudurier CVS bcoudurier
Tue Mar 21 01:18:33 CET 2006


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

Modified Files:
	qt-faststart.c 
Log Message:
free ftyp atom

Index: qt-faststart.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/qt-faststart.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- qt-faststart.c	16 Mar 2006 23:57:40 -0000	1.6
+++ qt-faststart.c	21 Mar 2006 00:18:30 -0000	1.7
@@ -288,6 +288,8 @@
     fclose(infile);
     fclose(outfile);
     free(moov_atom);
+    if (ftyp_atom_size > 0)
+        free(ftyp_atom);
 
     return 0;
 
@@ -295,5 +297,7 @@
     fclose(infile);
     fclose(outfile);
     free(moov_atom);
+    if (ftyp_atom_size > 0)
+        free(ftyp_atom);
     return 1;
 }





More information about the ffmpeg-cvslog mailing list