Index: webrtc/config.cc |
diff --git a/webrtc/config.cc b/webrtc/config.cc |
index 4b437e264d3dcebd675fb7c41ce4175697ed532c..281b89f46e5b5736d9da510b94596335c89e4ae7 100644 |
--- a/webrtc/config.cc |
+++ b/webrtc/config.cc |
@@ -167,11 +167,11 @@ |
void VideoEncoderConfig::EncoderSpecificSettings::FillEncoderSpecificSettings( |
VideoCodec* codec) const { |
if (codec->codecType == kVideoCodecH264) { |
- FillVideoCodecH264(codec->H264()); |
+ FillVideoCodecH264(&codec->codecSpecific.H264); |
} else if (codec->codecType == kVideoCodecVP8) { |
- FillVideoCodecVp8(codec->VP8()); |
+ FillVideoCodecVp8(&codec->codecSpecific.VP8); |
} else if (codec->codecType == kVideoCodecVP9) { |
- FillVideoCodecVp9(codec->VP9()); |
+ FillVideoCodecVp9(&codec->codecSpecific.VP9); |
} else { |
RTC_NOTREACHED() << "Encoder specifics set/used for unknown codec type."; |
} |