OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44cdb42
)
remove useless memset()
author
Måns Rullgård
<mans@mansr.com>
Wed, 27 Sep 2006 19:39:41 +0000
(19:39 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Wed, 27 Sep 2006 19:39:41 +0000
(19:39 +0000)
Originally committed as revision 6353 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/ogg2.c
patch
|
blob
|
history
diff --git
a/libavformat/ogg2.c
b/libavformat/ogg2.c
index
254415b
..
7f2b358
100644
(file)
--- 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;