Index: webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc |
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc b/webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc |
index 6e65ed3d8dff5038ce91275df6e1ce666ccfa523..2d5dbf91b4d242e2b432fc55d390d808f9b821f6 100644 |
--- a/webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc |
+++ b/webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc |
@@ -177,7 +177,7 @@ |
} |
bool VideoOrientation::Parse(const uint8_t* data, VideoRotation* rotation) { |
- *rotation = ConvertCVOByteToVideoRotation(data[0]); |
+ *rotation = ConvertCVOByteToVideoRotation(data[0] & 0x03); |
return true; |
} |