Index: webrtc/modules/audio_coding/codecs/audio_format.h |
diff --git a/webrtc/modules/audio_coding/codecs/audio_format.h b/webrtc/modules/audio_coding/codecs/audio_format.h |
index 43f82dcf04153dc0c24f31227b0f9d775a84dc76..1199cc27cd39e26eb58599556d674c1a394ff956 100644 |
--- a/webrtc/modules/audio_coding/codecs/audio_format.h |
+++ b/webrtc/modules/audio_coding/codecs/audio_format.h |
@@ -35,6 +35,11 @@ struct SdpAudioFormat { |
SdpAudioFormat& operator=(const SdpAudioFormat&); |
SdpAudioFormat& operator=(SdpAudioFormat&&); |
+ friend bool operator==(const SdpAudioFormat& a, const SdpAudioFormat& b); |
+ friend bool operator!=(const SdpAudioFormat& a, const SdpAudioFormat& b) { |
+ return !(a == b); |
+ } |
+ |
std::string name; |
int clockrate_hz; |
int num_channels; |