Index: webrtc/modules/audio_coding/codecs/audio_decoder.h |
diff --git a/webrtc/modules/audio_coding/codecs/audio_decoder.h b/webrtc/modules/audio_coding/codecs/audio_decoder.h |
index 25a77ac3931ed40ba784e7a96dc4844ef1a867d9..81ac87318300bf430ea55886fba8443e554adef7 100644 |
--- a/webrtc/modules/audio_coding/codecs/audio_decoder.h |
+++ b/webrtc/modules/audio_coding/codecs/audio_decoder.h |
@@ -41,21 +41,21 @@ class AudioDecoder { |
// is set to kComfortNoise, otherwise it is kSpeech. The desired output |
// sample rate is provided in |sample_rate_hz|, which must be valid for the |
// codec at hand. |
- virtual int Decode(const uint8_t* encoded, |
- size_t encoded_len, |
- int sample_rate_hz, |
- size_t max_decoded_bytes, |
- int16_t* decoded, |
- SpeechType* speech_type); |
+ int Decode(const uint8_t* encoded, |
+ size_t encoded_len, |
+ int sample_rate_hz, |
+ size_t max_decoded_bytes, |
+ int16_t* decoded, |
+ SpeechType* speech_type); |
// Same as Decode(), but interfaces to the decoders redundant decode function. |
// The default implementation simply calls the regular Decode() method. |
- virtual int DecodeRedundant(const uint8_t* encoded, |
- size_t encoded_len, |
- int sample_rate_hz, |
- size_t max_decoded_bytes, |
- int16_t* decoded, |
- SpeechType* speech_type); |
+ int DecodeRedundant(const uint8_t* encoded, |
+ size_t encoded_len, |
+ int sample_rate_hz, |
+ size_t max_decoded_bytes, |
+ int16_t* decoded, |
+ SpeechType* speech_type); |
// Indicates if the decoder implements the DecodePlc method. |
virtual bool HasDecodePlc() const; |
@@ -107,7 +107,7 @@ class AudioDecoder { |
size_t encoded_len, |
int sample_rate_hz, |
int16_t* decoded, |
- SpeechType* speech_type); |
+ SpeechType* speech_type) = 0; |
virtual int DecodeRedundantInternal(const uint8_t* encoded, |
size_t encoded_len, |