Index: webrtc/sdk/objc/Framework/UnitTests/objc_video_decoder_factory_tests.mm |
diff --git a/webrtc/sdk/objc/Framework/UnitTests/objc_video_decoder_factory_tests.mm b/webrtc/sdk/objc/Framework/UnitTests/objc_video_decoder_factory_tests.mm |
index c7b1b5fb760a8b6fae2bfe6c93dd21168b273156..3b1eb0571b3df8786989720c1033eb2ba55859bf 100644 |
--- a/webrtc/sdk/objc/Framework/UnitTests/objc_video_decoder_factory_tests.mm |
+++ b/webrtc/sdk/objc/Framework/UnitTests/objc_video_decoder_factory_tests.mm |
@@ -33,8 +33,7 @@ id<RTCVideoDecoderFactory> CreateDecoderFactoryReturning(int return_code) { |
OCMStub([decoderMock releaseDecoder]).andReturn(return_code); |
id decoderFactoryMock = OCMProtocolMock(@protocol(RTCVideoDecoderFactory)); |
- RTCVideoCodecInfo *supported = |
- [[RTCVideoCodecInfo alloc] initWithPayload:0 name:@"H264" parameters:@{}]; |
+ RTCVideoCodecInfo *supported = [[RTCVideoCodecInfo alloc] initWithName:@"H264" parameters:nil]; |
OCMStub([decoderFactoryMock supportedCodecs]).andReturn(@[ supported ]); |
OCMStub([decoderFactoryMock createDecoder:[OCMArg any]]).andReturn(decoderMock); |
return decoderFactoryMock; |