[FFmpeg-cvslog] ffserver: zero dest_addr

Michael Niedermayer git at videolan.org
Sun Nov 4 13:24:49 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Nov  4 05:17:50 2012 +0100| [a04698c4a9b66a933505724cc95112202f1ee794] | committer: Michael Niedermayer

ffserver: zero dest_addr

Fixes CID733838
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a04698c4a9b66a933505724cc95112202f1ee794
---

 ffserver.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffserver.c b/ffserver.c
index e83534c..d224b41 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -586,7 +586,7 @@ static void start_multicast(void)
     FFStream *stream;
     char session_id[32];
     HTTPContext *rtp_c;
-    struct sockaddr_in dest_addr;
+    struct sockaddr_in dest_addr = {0};
     int default_port, stream_index;
 
     default_port = 6000;



More information about the ffmpeg-cvslog mailing list