[FFmpeg-cvslog] r10287 - trunk/libavformat/sdp.c

lucabe subversion
Mon Sep 3 11:00:40 CEST 2007


Author: lucabe
Date: Mon Sep  3 11:00:40 2007
New Revision: 10287

Log:
Fill the buffer with 0 before writing an SDP in it


Modified:
   trunk/libavformat/sdp.c

Modified: trunk/libavformat/sdp.c
==============================================================================
--- trunk/libavformat/sdp.c	(original)
+++ trunk/libavformat/sdp.c	Mon Sep  3 11:00:40 2007
@@ -175,6 +175,7 @@ int avf_sdp_create(AVFormatContext *ac[]
     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 */




More information about the ffmpeg-cvslog mailing list