Index: media/cast/test/encode_decode_test.cc |
diff --git a/media/cast/test/encode_decode_test.cc b/media/cast/test/encode_decode_test.cc |
index 1d5fe567254b825b84e1059c11e0997f1fedbc4c..dfaf4a4ca46885c33aba123c7efda946d8eba2cb 100644 |
--- a/media/cast/test/encode_decode_test.cc |
+++ b/media/cast/test/encode_decode_test.cc |
@@ -122,6 +122,7 @@ class EncodeDecodeTest : public ::testing::Test { |
TEST_F(EncodeDecodeTest, BasicEncodeDecode) { |
transport::EncodedVideoFrame encoded_frame; |
+ encoder_->Initialize(); |
// Encode frame. |
encoder_->Encode(video_frame_, &encoded_frame); |
EXPECT_GT(encoded_frame.data.size(), GG_UINT64_C(0)); |