code refine

This commit is contained in:
lyao2 2014-09-02 09:21:31 +08:00
parent 849a730608
commit aa7eb5fd09

View File

@ -334,7 +334,7 @@ TEST_F (EncoderInterfaceTest, TemporalLayerSettingTest) {
pOption->iTemporalLayerNum--;
}
iResult = pPtrEnc->SetOption (eOptionId, pOption);
EXPECT_EQ (iResult, static_cast<int32_t> (cmResultSuccess));
EXPECT_EQ (iResult, static_cast<int> (cmResultSuccess));
pSrcPic->uiTimeStamp += 30;
}
@ -344,7 +344,7 @@ TEST_F (EncoderInterfaceTest, TemporalLayerSettingTest) {
pYUV[j] = rand() % 256;
iResult = pPtrEnc->EncodeFrame (pSrcPic, &sFbi);
EXPECT_EQ (iResult, static_cast<int32_t> (cmResultSuccess));
EXPECT_EQ (iResult, static_cast<int> (cmResultSuccess));
pSrcPic->uiTimeStamp += 30;
}