Index: webrtc/modules/video_coding/utility/quality_scaler.cc |
diff --git a/webrtc/modules/video_coding/utility/quality_scaler.cc b/webrtc/modules/video_coding/utility/quality_scaler.cc |
index 59bc60596609f94fa56fe2eca88a510b431ffa02..0f63edca7d126d520fff5fd28eb39a8adf8ca66c 100644 |
--- a/webrtc/modules/video_coding/utility/quality_scaler.cc |
+++ b/webrtc/modules/video_coding/utility/quality_scaler.cc |
@@ -187,7 +187,7 @@ rtc::scoped_refptr<VideoFrameBuffer> QualityScaler::GetScaledBuffer( |
rtc::scoped_refptr<I420Buffer> scaled_buffer = |
pool_.CreateBuffer(res.width, res.height); |
- scaled_buffer->ScaleFrom(frame); |
+ scaled_buffer->ScaleFrom(*frame); |
return scaled_buffer; |
} |