Showing the changes to test/encoder/EncUT_EncoderExt.cpp (1 of 1 file). Show all
Unified · Split
| @@ -187,8 +187,8 @@ TEST_F (EncoderInterfaceTest, EncoderOptionSetTest) { · 186 unmodified lines | ||
| 187 | 187 | |
| 188 | 188 | iResult = pPtrEnc->GetOption (eOptionId, &iReturn); |
| 189 | 189 | EXPECT_EQ (iResult, static_cast<int> (cmResultSuccess)); |
| 190 | − if (iValue < -1 || iValue == 0) | |
| 191 | − iValue = 1; | |
| 190 | + if (iValue <= -1) | |
| 191 | + iValue = 0; | |
| 192 | 192 | EXPECT_EQ (iValue, iReturn); |
| 193 | 193 | |
| 194 | 194 | PrepareOneSrcFrame(); |