Showing the changes to test/encoder/EncUT_EncoderExt.cpp (1 of 1 file). Show all
Unified · Split
| @@ -173,6 +173,8 @@ TEST_F (EncoderInterfaceTest, EncoderAdditionalOptionSetTest) { · 172 unmodified lines | ||
| 173 | 173 | |
| 174 | 174 | iResult = pPtrEnc->GetOption (eOptionId, &iReturn); |
| 175 | 175 | EXPECT_EQ (iResult, static_cast<int> (cmResultSuccess)); |
| 176 | + if (iValue < -1 || iValue == 0) | |
| 177 | + iValue = 1; | |
| 176 | 178 | EXPECT_EQ (iValue, iReturn); |
| 177 | 179 | |
| 178 | 180 | PrepareOneSrcFrame(); |