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 0bcd6c2633d97b7af619ccb54ae1ead8da79aa61..bc2c0a17256fa2e172d1c9c5a36807f33e0eb8ca 100644 |
--- a/media/cast/test/encode_decode_test.cc |
+++ b/media/cast/test/encode_decode_test.cc |
@@ -77,6 +77,7 @@ TEST_F(EncodeDecodeTest, BasicEncodeDecode) { |
I420VideoFrame decoded_frame; |
// Encode frame. |
encoder_->Encode(*(video_frame_.get()), &encoded_frame); |
+ EXPECT_GT(encoded_frame.data.size(), GG_UINT64_C(0)); |
// Decode frame. |
decoder_->Decode(encoded_frame, &decoded_frame); |
// Validate data. |