aboutsummaryrefslogtreecommitdiff
path: root/src/QXmppRtpChannel.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-11-20 15:24:05 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-11-20 15:24:05 +0000
commite92a30582b1f983381dbf87cc38855e5bac45c18 (patch)
tree8c63f8f5ccdf6da1fce22539d9ced20bbbbe569a /src/QXmppRtpChannel.cpp
parentfd87f32efdfb94894b41a9cf5b9b1ca5cffafd47 (diff)
downloadqxmpp-e92a30582b1f983381dbf87cc38855e5bac45c18.tar.gz
fix a spurious RTP warning
Diffstat (limited to 'src/QXmppRtpChannel.cpp')
-rw-r--r--src/QXmppRtpChannel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/QXmppRtpChannel.cpp b/src/QXmppRtpChannel.cpp
index 820be1b7..ba1df1bd 100644
--- a/src/QXmppRtpChannel.cpp
+++ b/src/QXmppRtpChannel.cpp
@@ -162,7 +162,7 @@ void QXmppRtpChannel::datagramReceived(const QByteArray &ba)
}
// check sequence number
- if (!marker && sequence != d->incomingSequence + 1)
+ if (d->incomingSequence && sequence != d->incomingSequence + 1)
warning(QString("RTP packet seq %1 is out of order, previous was %2")
.arg(QString::number(sequence))
.arg(QString::number(d->incomingSequence)));