changeset 1331:d5d90b6f384c libavformat

remove useless memset()
author mru
date Wed, 27 Sep 2006 19:39:41 +0000
parents 18d9db9590e6
children 7474cc6383d4
files ogg2.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ogg2.c	Tue Sep 26 18:34:07 2006 +0000
+++ b/ogg2.c	Wed Sep 27 19:39:41 2006 +0000
@@ -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;