diff --git a/src/video_engine/test/auto_test/source/vie_autotest_file.cc b/src/video_engine/test/auto_test/source/vie_autotest_file.cc index e82fb9c82..d425828f6 100644 --- a/src/video_engine/test/auto_test/source/vie_autotest_file.cc +++ b/src/video_engine/test/auto_test/source/vie_autotest_file.cc @@ -464,9 +464,8 @@ void ViEAutoTest::ViEFileStandardTest() EXPECT_EQ(0, ptrViEBase->DisconnectAudioChannel(videoChannel)); EXPECT_EQ(0, ptrViEBase->SetVoiceEngine(NULL)); EXPECT_EQ(0, ptrVEBase->DeleteChannel(audioChannel)); - // VoE reference counting is per-object, so we use EXPECT_NE - EXPECT_NE(0, ptrVEBase->Release()); - EXPECT_NE(0, ptrVECodec->Release()); + EXPECT_EQ(0, ptrVEBase->Release()); + EXPECT_EQ(0, ptrVECodec->Release()); EXPECT_TRUE(webrtc::VoiceEngine::Delete(ptrVEEngine)); EXPECT_EQ(0, ptrViEBase->StopReceive(videoChannel));