summaryrefslogtreecommitdiffstats
path: root/libavformat/sctp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/sctp.c')
-rw-r--r--libavformat/sctp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/sctp.c b/libavformat/sctp.c
index f88cd27..a4406d1 100644
--- a/libavformat/sctp.c
+++ b/libavformat/sctp.c
@@ -98,7 +98,7 @@ static int ff_sctp_recvmsg(int s, void *msg, size_t len, struct sockaddr *from,
if (msg_flags)
*msg_flags = inmsg.msg_flags;
- for (cmsg = CMSG_FIRSTHDR(&inmsg); cmsg != NULL;
+ for (cmsg = CMSG_FIRSTHDR(&inmsg); cmsg;
cmsg = CMSG_NXTHDR(&inmsg, cmsg)) {
if ((IPPROTO_SCTP == cmsg->cmsg_level) &&
(SCTP_SNDRCV == cmsg->cmsg_type))
OpenPOWER on IntegriCloud