Browse Source

sctp: Always initialize outmsg struct

CC: libav-stable@libav.org
Bug-Id: CID 1302711
tags/n2.7
Vittorio Giovara 10 years ago
parent
commit
8ef98855d2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/sctp.c

+ 1
- 1
libavformat/sctp.c View File

@@ -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;


Loading…
Cancel
Save