diff options
author | Måns Rullgård <mans@mansr.com> | 2006-09-27 19:39:41 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-09-27 19:39:41 +0000 |
commit | 0c6309225d06f11b5168cc661fbe9326f0379921 (patch) | |
tree | 95772ad7365898483f36b1a54f616e5aacc02f9d | |
parent | 44cdb42386798e5de010cffa875a9090d2f18717 (diff) | |
download | ffmpeg-0c6309225d06f11b5168cc661fbe9326f0379921.tar.gz |
remove useless memset()
Originally committed as revision 6353 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/ogg2.c | 1 |
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; |