summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantiago Carot-Nemesio <sancane@gmail.com>2015-08-24 14:16:37 (GMT)
committerRobert Swain <robert.swain@ericsson.com>2015-08-31 06:44:07 (GMT)
commit0553844ec3faf506755e1b5bec0de3b3f7e0940e (patch)
tree57de44456477e2fd4ae5b13afae14b4a6b4efe0c
parent8becd45812122ae53ff130d92aade1075082705a (diff)
downloadopenwebrtc-gst-plugins-0553844ec3faf506755e1b5bec0de3b3f7e0940e.tar.gz
openwebrtc-gst-plugins-0553844ec3faf506755e1b5bec0de3b3f7e0940e.tar.xz
sctpassociation: Fix flag checking
Closes #46.
-rw-r--r--ext/sctp/sctpassociation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sctp/sctpassociation.c b/ext/sctp/sctpassociation.c
index fef4852..073c889 100644
--- a/ext/sctp/sctpassociation.c
+++ b/ext/sctp/sctpassociation.c
@@ -726,7 +726,7 @@ static void handle_stream_reset_event(GstSctpAssociation *self,
{
guint32 i, n;
if (!(sr->strreset_flags & SCTP_STREAM_RESET_DENIED) &&
- !(sr->strreset_flags & SCTP_STREAM_RESET_DENIED )) {
+ !(sr->strreset_flags & SCTP_STREAM_RESET_FAILED )) {
n = (sr->strreset_length - sizeof(struct sctp_stream_reset_event)) / sizeof(uint16_t);
for (i = 0; i < n; i++) {
if (sr->strreset_flags & SCTP_STREAM_RESET_INCOMING_SSN) {