projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c746a4
)
Fill the buffer with 0 before writing an SDP in it
author
Luca Abeni
<lucabe72@email.it>
Mon, 3 Sep 2007 09:00:40 +0000
(09:00 +0000)
committer
Luca Abeni
<lucabe72@email.it>
Mon, 3 Sep 2007 09:00:40 +0000
(09:00 +0000)
Originally committed as revision 10287 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/sdp.c
patch
|
blob
|
history
diff --git
a/libavformat/sdp.c
b/libavformat/sdp.c
index
1062c8d
..
98dcb07
100644
(file)
--- a/
libavformat/sdp.c
+++ b/
libavformat/sdp.c
@@
-175,6
+175,7
@@
int avf_sdp_create(AVFormatContext *ac[], int n_files, char *buff, int size)
int i, j, port, ttl;
char dst[32];
+ memset(buff, 0, size);
memset(&s, 0, sizeof(struct sdp_session_level));
s.user = "-";
s.src_addr = "127.0.0.1"; /* FIXME: Properly set this */