Index: webrtc/modules/audio_coding/neteq/include/neteq.h |
diff --git a/webrtc/modules/audio_coding/neteq/include/neteq.h b/webrtc/modules/audio_coding/neteq/include/neteq.h |
index c07143c062020dd9fd02d46843cf550fd82168e4..0df50ced72df5511e35f7c4a102c2c8962053446 100644 |
--- a/webrtc/modules/audio_coding/neteq/include/neteq.h |
+++ b/webrtc/modules/audio_coding/neteq/include/neteq.h |
@@ -261,7 +261,8 @@ class NetEq { |
// Returns the decoder format for the given payload type. Returns null if no |
hlundin-webrtc
2016/09/22 12:36:16
null -> empty?
ossu
2016/09/22 14:43:06
Yes! Good catch!
|
// such payload type was registered, or if it was registered without |
// providing an SdpAudioFormat. |
- virtual const SdpAudioFormat* GetDecoderFormat(int payload_type) const = 0; |
+ virtual rtc::Optional<SdpAudioFormat> GetDecoderFormat( |
+ int payload_type) const = 0; |
// Not implemented. |
virtual int SetTargetNumberOfChannels() = 0; |