Index: webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc |
diff --git a/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc b/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc |
index c3d77da0631f7b070a17c7a87f32a0b85c7b908b..0dd3d7cef8a37df5598913bdb57398390c051834 100644 |
--- a/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc |
+++ b/webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc |
@@ -266,22 +266,4 @@ TEST_F(TestVp8Impl, MAYBE_DecodeWithACompleteKeyFrame) { |
EXPECT_GT(I420PSNR(&input_frame_, &decoded_frame_), 36); |
} |
-TEST_F(TestVp8Impl, TestReset) { |
- SetUpEncodeDecode(); |
- EXPECT_EQ(0, encoder_->Encode(input_frame_, NULL, NULL)); |
- EXPECT_EQ(0, decoder_->Decode(encoded_frame_, false, NULL)); |
- size_t length = CalcBufferSize(kI420, kWidth, kHeight); |
- rtc::scoped_ptr<uint8_t[]> first_frame_buffer(new uint8_t[length]); |
- ExtractBuffer(decoded_frame_, length, first_frame_buffer.get()); |
- |
- EXPECT_EQ(0, decoder_->Reset()); |
- |
- EXPECT_EQ(0, decoder_->Decode(encoded_frame_, false, NULL)); |
- rtc::scoped_ptr<uint8_t[]> second_frame_buffer(new uint8_t[length]); |
- ExtractBuffer(decoded_frame_, length, second_frame_buffer.get()); |
- |
- EXPECT_EQ( |
- 0, memcmp(second_frame_buffer.get(), first_frame_buffer.get(), length)); |
-} |
- |
} // namespace webrtc |