Bug 1406941 - Fix typo in videoconduit_unittests.cpp; r=padenot
authorDan Minor <dminor@mozilla.com>
Mon, 19 Nov 2018 17:01:25 +0000
changeset 447035 c99a8cc72471893a46b15798439eba7549cf7300
parent 447034 d08645c751752d0601a660bf491959dc3e2efe1e
child 447036 c0f52a7424dece45164a7af535a8ce85d0cf0053
push id35065
push userrmaries@mozilla.com
push dateMon, 19 Nov 2018 21:56:32 +0000
treeherdermozilla-central@bd4cebdbed4b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspadenot
bugs1406941
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1406941 - Fix typo in videoconduit_unittests.cpp; r=padenot Depends on D12013 Differential Revision: https://phabricator.services.mozilla.com/D12014
media/webrtc/signaling/gtest/videoconduit_unittests.cpp
--- a/media/webrtc/signaling/gtest/videoconduit_unittests.cpp
+++ b/media/webrtc/signaling/gtest/videoconduit_unittests.cpp
@@ -339,17 +339,17 @@ TEST_F(VideoConduitTest, TestConfigureSe
   ASSERT_EQ(ec, kMediaConduitMalformedArgument);
 
   // long codec name
   size_t longNameLength = WebrtcVideoConduit::CODEC_PLNAME_SIZE + 2;
   char* longName = new char[longNameLength];
   memset(longName, 'A', longNameLength - 2);
   longName[longNameLength - 1] = 0;
   VideoCodecConfig codecConfigLongName(120, longName, constraints);
-  ec = mVideoConduit->ConfigureSendMediaCodec(&codecConfigBadName);
+  ec = mVideoConduit->ConfigureSendMediaCodec(&codecConfigLongName);
   ASSERT_EQ(ec, kMediaConduitMalformedArgument);
   delete[] longName;
 }
 
 TEST_F(VideoConduitTest, TestConfigureSendMediaCodecMaxFps)
 {
   MediaConduitErrorCode ec;
   EncodingConstraints constraints;