aboutsummaryrefslogtreecommitdiff
path: root/tests/qxmpprtppacket/tst_qxmpprtppacket.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2018-02-28 00:32:35 +0100
committerJeremy Lainé <jeremy.laine@m4x.org>2018-02-28 00:32:35 +0100
commit2416d50b48d564d27c27a55fc424eedee311de74 (patch)
treebddcd8d8b51b48981c0ec64e6d23c3e55e968149 /tests/qxmpprtppacket/tst_qxmpprtppacket.cpp
parent5804795a35d27f8d10301d5f40567a34efca2643 (diff)
downloadqxmpp-2416d50b48d564d27c27a55fc424eedee311de74.tar.gz
Fix encoding / decoding of CSRC count in RTP packets
Diffstat (limited to 'tests/qxmpprtppacket/tst_qxmpprtppacket.cpp')
-rw-r--r--tests/qxmpprtppacket/tst_qxmpprtppacket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qxmpprtppacket/tst_qxmpprtppacket.cpp b/tests/qxmpprtppacket/tst_qxmpprtppacket.cpp
index 401ee3fd..c48bd3e2 100644
--- a/tests/qxmpprtppacket/tst_qxmpprtppacket.cpp
+++ b/tests/qxmpprtppacket/tst_qxmpprtppacket.cpp
@@ -65,7 +65,7 @@ void tst_QXmppRtpPacket::testSimple()
void tst_QXmppRtpPacket::testWithCsrc()
{
- QByteArray data("\x84\x00\x3e\xd2\x00\x00\x00\x90\x5f\xbd\x16\x9e\xab\xcd\xef\x01\xde\xad\xbe\xef\x12\x34\x56", 23);
+ QByteArray data("\x82\x00\x3e\xd2\x00\x00\x00\x90\x5f\xbd\x16\x9e\xab\xcd\xef\x01\xde\xad\xbe\xef\x12\x34\x56", 23);
QXmppRtpPacket packet;
QCOMPARE(packet.decode(data), true);
QCOMPARE(packet.marker(), false);