Chromium Code Reviews| 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 8947e811668f76d118391a29683bf6a45005d2f9..480b1aa26db94138905a563e91ff2784aef07c69 100644 |
| --- a/webrtc/modules/audio_coding/codecs/audio_decoder.h |
| +++ b/webrtc/modules/audio_coding/codecs/audio_decoder.h |
| @@ -62,7 +62,7 @@ class AudioDecoder { |
| // Calls the packet-loss concealment of the decoder to update the state after |
| // one or several lost packets. |
| - virtual int DecodePlc(int num_frames, int16_t* decoded); |
| + virtual size_t DecodePlc(size_t num_frames, int16_t* decoded); |
|
hlundin-webrtc
2015/08/10 11:27:27
I think we should still be able to return a negati
minyue-webrtc
2015/08/10 13:02:24
See some discussion here https://codereview.webrtc
hlundin-webrtc
2015/08/10 13:12:36
Hmm, yes, I guess I agree. It's just that I am sli
|
| // Initializes the decoder. |
| virtual int Init() = 0; |