Commit 896671e9 authored by lucabe's avatar lucabe

Fill the buffer with 0 before writing an SDP in it


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10287 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 55cb118c
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment