[xiph-commits] r14980 - in trunk/vorbis-tools: . vorbiscomment

ivo at svn.xiph.org ivo at svn.xiph.org
Thu May 29 15:52:56 PDT 2008


Author: ivo
Date: 2008-05-29 15:52:55 -0700 (Thu, 29 May 2008)
New Revision: 14980

Modified:
   trunk/vorbis-tools/CHANGES
   trunk/vorbis-tools/vorbiscomment/vcedit.c
Log:
Correct memory allocation in vorbiscomment.  Closes #472

Modified: trunk/vorbis-tools/CHANGES
===================================================================
--- trunk/vorbis-tools/CHANGES	2008-05-29 10:31:14 UTC (rev 14979)
+++ trunk/vorbis-tools/CHANGES	2008-05-29 22:52:55 UTC (rev 14980)
@@ -8,6 +8,8 @@
 * oggenc: fixed a core dump while resampling from FLAC (#1316)
 * oggenc: fixed a typo in the Skeleton handling routine
 * ogginfo: support for information in Kate streams (#1360)
+* vcut: 64 bit fixes (#1366)
+* vorbiscomment: correct memory allocation (#472)
 
 vorbis-tools 1.2.0 -- 2008-02-21
 

Modified: trunk/vorbis-tools/vorbiscomment/vcedit.c
===================================================================
--- trunk/vorbis-tools/vorbiscomment/vcedit.c	2008-05-29 10:31:14 UTC (rev 14979)
+++ trunk/vorbis-tools/vorbiscomment/vcedit.c	2008-05-29 22:52:55 UTC (rev 14980)
@@ -376,7 +376,7 @@
 	}
 	oggpack_write(&opb,1,1);
 
-	op->packet = _ogg_malloc(oggpack_bytes(&opb));
+	op->packet = malloc(oggpack_bytes(&opb));
 	memcpy(op->packet, opb.buffer, oggpack_bytes(&opb));
 
 	op->bytes=oggpack_bytes(&opb);



More information about the commits mailing list