diff --git a/webrtc/voice_engine/test/auto_test/standard/codec_before_streaming_test.cc b/webrtc/voice_engine/test/auto_test/standard/codec_before_streaming_test.cc index 66c00d459..a733b1270 100644 --- a/webrtc/voice_engine/test/auto_test/standard/codec_before_streaming_test.cc +++ b/webrtc/voice_engine/test/auto_test/standard/codec_before_streaming_test.cc @@ -47,6 +47,7 @@ TEST_F(CodecBeforeStreamingTest, GetRecPayloadTypeRecognizesISAC) { TEST_F(CodecBeforeStreamingTest, SetRecPayloadTypeCanChangeISACPayloadType) { strcpy(codec_instance_.plname, "ISAC"); + codec_instance_.rate = 32000; codec_instance_.pltype = 123; EXPECT_EQ(0, voe_codec_->SetRecPayloadType(channel_, codec_instance_));