[Ffmpeg-cvslog] r6353 - trunk/libavformat/ogg2.c

mru subversion
Wed Sep 27 21:39:41 CEST 2006


Author: mru
Date: Wed Sep 27 21:39:41 2006
New Revision: 6353

Modified:
   trunk/libavformat/ogg2.c

Log:
remove useless memset()


Modified: trunk/libavformat/ogg2.c
==============================================================================
--- trunk/libavformat/ogg2.c	(original)
+++ trunk/libavformat/ogg2.c	Wed Sep 27 21:39:41 2006
@@ -307,7 +307,6 @@
 
     if (os->bufsize - os->bufpos < size){
         uint8_t *nb = av_malloc (os->bufsize *= 2);
-        memset (nb, 0, os->bufsize);
         memcpy (nb, os->buf, os->bufpos);
         av_free (os->buf);
         os->buf = nb;




More information about the ffmpeg-cvslog mailing list