1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

remove useless memset()

Originally committed as revision 6353 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2006-09-27 19:39:41 +00:00
parent 44cdb42386
commit 0c6309225d

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;