summaryrefslogtreecommitdiff
path: root/libavformat/ogg2.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-09-27 19:39:41 +0000
committerMåns Rullgård <mans@mansr.com>2006-09-27 19:39:41 +0000
commit0c6309225d06f11b5168cc661fbe9326f0379921 (patch)
tree95772ad7365898483f36b1a54f616e5aacc02f9d /libavformat/ogg2.c
parent44cdb42386798e5de010cffa875a9090d2f18717 (diff)
remove useless memset()
Originally committed as revision 6353 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/ogg2.c')
-rw-r--r--libavformat/ogg2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/ogg2.c b/libavformat/ogg2.c
index 254415b7a3..7f2b358c37 100644
--- a/libavformat/ogg2.c
+++ b/libavformat/ogg2.c
@@ -307,7 +307,6 @@ ogg_read_page (AVFormatContext * s, int *str)
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;