| Index: webrtc/modules/video_processing/test/video_processing_unittest.cc
|
| diff --git a/webrtc/modules/video_processing/test/video_processing_unittest.cc b/webrtc/modules/video_processing/test/video_processing_unittest.cc
|
| index b9a22d885bbbcc53007b5dc25d1c990ac30799da..2fd8fb6673e3dc326f9250c504a01def38f10855 100644
|
| --- a/webrtc/modules/video_processing/test/video_processing_unittest.cc
|
| +++ b/webrtc/modules/video_processing/test/video_processing_unittest.cc
|
| @@ -69,8 +69,8 @@
|
| vp_ = VideoProcessing::Create();
|
| ASSERT_TRUE(vp_ != NULL);
|
|
|
| - video_frame_.CreateEmptyFrame(width_, height_, width_,
|
| - half_width_, half_width_);
|
| + ASSERT_EQ(0, video_frame_.CreateEmptyFrame(width_, height_, width_,
|
| + half_width_, half_width_));
|
| // Clear video frame so DrMemory/Valgrind will allow reads of the buffer.
|
| memset(video_frame_.buffer(kYPlane), 0, video_frame_.allocated_size(kYPlane));
|
| memset(video_frame_.buffer(kUPlane), 0, video_frame_.allocated_size(kUPlane));
|
| @@ -142,7 +142,7 @@
|
| 0, kVideoRotation_0, &video_frame_));
|
| vp_->GetFrameStats(video_frame_, &stats);
|
| EXPECT_GT(stats.num_pixels, 0u);
|
| - video_frame2.CopyFrame(video_frame_);
|
| + ASSERT_EQ(0, video_frame2.CopyFrame(video_frame_));
|
| ASSERT_EQ(0, vp_->Deflickering(&video_frame_, &stats));
|
|
|
| // Retrieve frame stats again in case Deflickering() has zeroed them.
|
|
|