ffmpeg | branch: master | Vittorio Giovara <vittorio.giov...@gmail.com> | Wed Jun 3 14:16:45 2015 +0100| [8ef98855d25e457094468e2e1a79d9b10d6445b2] | committer: Vittorio Giovara
sctp: Always initialize outmsg struct CC: libav-sta...@libav.org Bug-Id: CID 1302711 > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8ef98855d25e457094468e2e1a79d9b10d6445b2 --- libavformat/sctp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/sctp.c b/libavformat/sctp.c index 71b3a4b..57fd044 100644 --- a/libavformat/sctp.c +++ b/libavformat/sctp.c @@ -116,7 +116,7 @@ static int ff_sctp_recvmsg(int s, void *msg, size_t len, struct sockaddr *from, static int ff_sctp_send(int s, const void *msg, size_t len, const struct sctp_sndrcvinfo *sinfo, int flags) { - struct msghdr outmsg; + struct msghdr outmsg = { 0 }; struct iovec iov; outmsg.msg_name = NULL; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog