aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2011-04-15 15:44:40 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2011-04-15 15:44:40 +0000
commit5f4d0ab29fda592f34306a1c4ffdf3d39771010c (patch)
treeb6729dd139ed62e15d0b07cade070667fda4f8aa /src
parente5fd26f97577eba1c3f037d72607dab128186370 (diff)
downloadqxmpp-5f4d0ab29fda592f34306a1c4ffdf3d39771010c.tar.gz
fix compiler warnings
Diffstat (limited to 'src')
-rw-r--r--src/QXmppCodec.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/QXmppCodec.cpp b/src/QXmppCodec.cpp
index 36901b6c..434a8526 100644
--- a/src/QXmppCodec.cpp
+++ b/src/QXmppCodec.cpp
@@ -445,6 +445,7 @@ QList<QXmppVideoFrame> QXmppTheoraDecoder::handlePacket(QDataStream &stream)
stream >> theora_header;
quint32 theora_ident = (theora_header >> 8) & 0xffffff;
+ Q_UNUSED(theora_ident);
quint8 theora_frag = (theora_header & 0xc0) >> 6;
quint8 theora_type = (theora_header & 0x30) >> 4;
quint8 theora_packets = (theora_header & 0x0f);
@@ -753,8 +754,6 @@ QList<QByteArray> QXmppTheoraEncoder::handleFrame(const QXmppVideoFrame &frame)
return packets;
}
- // raw data
- quint8 theora_type = 0;
QByteArray payload;
ogg_packet packet;
while (th_encode_packetout(d->ctx, 0, &packet) > 0) {