Index: webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc |
diff --git a/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc b/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc |
index 4b0f99e324a31bbf5de1e756e0fa773f73c14f69..07474e140fbea33a914648b7d3262c56b2fc9e81 100644 |
--- a/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc |
+++ b/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc |
@@ -284,7 +284,8 @@ int VP9EncoderImpl::InitEncode(const VideoCodec* inst, |
if (encoded_image_._buffer != NULL) { |
delete[] encoded_image_._buffer; |
} |
- encoded_image_._size = CalcBufferSize(kI420, codec_.width, codec_.height); |
+ encoded_image_._size = |
+ CalcBufferSize(VideoType::kI420, codec_.width, codec_.height); |
encoded_image_._buffer = new uint8_t[encoded_image_._size]; |
encoded_image_._completeFrame = true; |
// Creating a wrapper to the image - setting image data to NULL. Actual |