summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/ScreenSharing/VP8RTPParser.cpp')
-rw-r--r--Swiften/ScreenSharing/VP8RTPParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/ScreenSharing/VP8RTPParser.cpp b/Swiften/ScreenSharing/VP8RTPParser.cpp
index d44140b..3701ed2 100644
--- a/Swiften/ScreenSharing/VP8RTPParser.cpp
+++ b/Swiften/ScreenSharing/VP8RTPParser.cpp
@@ -27,7 +27,7 @@ void VP8RTPParser::newPayloadReceived(const uint8_t* data, size_t len, bool hasM
uint8_t optX = data[headerSize++];
if (optX & IBit) { // PictureID byte is present
uint8_t optI = data[headerSize++];
- pictureID = optI >> 1;
+ pictureID = (optI & 127);
}
}