Index: webrtc/modules/video_coding/codec_database.cc |
diff --git a/webrtc/modules/video_coding/codec_database.cc b/webrtc/modules/video_coding/codec_database.cc |
index 01e51ce2874be399d416225c016237f0f1b321d0..4d5e20215caa090aebff54ef3b387ff39ee56dd6 100644 |
--- a/webrtc/modules/video_coding/codec_database.cc |
+++ b/webrtc/modules/video_coding/codec_database.cc |
@@ -449,22 +449,6 @@ bool VCMCodecDataBase::DeregisterReceiveCodec(uint8_t payload_type) { |
return true; |
} |
-bool VCMCodecDataBase::ReceiveCodec(VideoCodec* current_receive_codec) const { |
- RTC_DCHECK(current_receive_codec); |
- if (!ptr_decoder_) { |
- return false; |
- } |
- memcpy(current_receive_codec, &receive_codec_, sizeof(VideoCodec)); |
- return true; |
-} |
- |
-VideoCodecType VCMCodecDataBase::ReceiveCodec() const { |
- if (!ptr_decoder_) { |
- return kVideoCodecUnknown; |
- } |
- return receive_codec_.codecType; |
-} |
- |
VCMGenericDecoder* VCMCodecDataBase::GetDecoder( |
const VCMEncodedFrame& frame, |
VCMDecodedFrameCallback* decoded_frame_callback) { |