remove useless memset()

Originally committed as revision 6353 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Måns Rullgård 19 years ago
parent 44cdb42386
commit 0c6309225d
  1. 1
      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;

Loading…
Cancel
Save