Index: webrtc/modules/video_processing/spatial_resampler.cc |
diff --git a/webrtc/modules/video_processing/spatial_resampler.cc b/webrtc/modules/video_processing/spatial_resampler.cc |
index 7c4aae20888d104c53c1989dac1061d72330635d..4d98605b2cc313fe1554519ed209582f77b32b90 100644 |
--- a/webrtc/modules/video_processing/spatial_resampler.cc |
+++ b/webrtc/modules/video_processing/spatial_resampler.cc |
@@ -56,7 +56,7 @@ int32_t VPMSimpleSpatialResampler::ResampleFrame(const VideoFrame& inFrame, |
rtc::scoped_refptr<I420Buffer> scaled_buffer( |
buffer_pool_.CreateBuffer(target_width_, target_height_)); |
- scaled_buffer->CropAndScaleFrom(inFrame.video_frame_buffer()); |
+ scaled_buffer->CropAndScaleFrom(*inFrame.video_frame_buffer()); |
*outFrame = VideoFrame(scaled_buffer, |
inFrame.timestamp(), |