mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
remove useless memset()
Originally committed as revision 6353 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
44cdb42386
commit
0c6309225d
@ -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…
Reference in New Issue
Block a user