Index: webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc |
diff --git a/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc b/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc |
index 66db72c2922567afbcba9a60983b289edc1fd650..a3495ee53a3f26d472c82993c7e0035fe4a363ae 100644 |
--- a/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc |
+++ b/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc |
@@ -368,7 +368,7 @@ int VP8EncoderImpl::InitEncode(const VideoCodec* inst, |
delete[] encoded_images_[i]._buffer; |
} |
encoded_images_[i]._size = |
- CalcBufferSize(kI420, codec_.width, codec_.height); |
+ CalcBufferSize(VideoType::kI420, codec_.width, codec_.height); |
encoded_images_[i]._buffer = new uint8_t[encoded_images_[i]._size]; |
encoded_images_[i]._completeFrame = true; |
} |