From b33f9dccd616c87daadf30c19b06b41235215c95 Mon Sep 17 00:00:00 2001 From: "stefan@webrtc.org" Date: Mon, 19 Dec 2011 10:24:02 +0000 Subject: [PATCH] Correction to how the VP8 wrapper generates picture ids. BUG= TEST= Review URL: http://webrtc-codereview.appspot.com/329006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1229 4adac7df-926f-26a2-2b94-8c16560cd09d --- src/modules/video_coding/codecs/vp8/main/source/vp8.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/video_coding/codecs/vp8/main/source/vp8.cc b/src/modules/video_coding/codecs/vp8/main/source/vp8.cc index 279666ce16..ec234d16ec 100644 --- a/src/modules/video_coding/codecs/vp8/main/source/vp8.cc +++ b/src/modules/video_coding/codecs/vp8/main/source/vp8.cc @@ -514,7 +514,7 @@ void VP8Encoder::PopulateCodecSpecific(CodecSpecificInfo* codec_specific, #if WEBRTC_LIBVPX_VERSION >= 971 } #endif - _pictureID = (_pictureID + 1) % 0x7FFF; // prepare next + _pictureID = (_pictureID + 1) & 0x7FFF; // prepare next } WebRtc_Word32