Showing the changes to test/api/BaseEncoderTest.cpp (1 of 9 files). Show all
Unified · Split
| @@ -96,7 +96,7 @@ void BaseEncoderTest::EncodeStream (InputStream* in, SEncParamExt* pEncParamExt, · 95 unmodified lines | ||
| 96 | 96 | |
| 97 | 97 | BufferedData buf; |
| 98 | 98 | buf.SetLength (frameSize); |
| 99 | − ASSERT_TRUE (buf.Length() == (size_t)frameSize); | |
| 99 | + ASSERT_TRUE (buf.Length() == (size_t)frameSize); //include memory fail (-1) case | |
| 100 | 100 | |
| 101 | 101 | SFrameBSInfo info; |
| 102 | 102 | memset (&info, 0, sizeof (SFrameBSInfo)); |