Browse Source

remove useless memset()

Originally committed as revision 6353 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Måns Rullgård 19 years ago
parent
commit
0c6309225d
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavformat/ogg2.c

+ 0
- 1
libavformat/ogg2.c View File

@@ -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