aboutsummaryrefslogtreecommitdiff
path: root/webrtc/modules/audio_coding/codecs/audio_decoder.h
diff options
context:
space:
mode:
authorminyue@webrtc.org <minyue@webrtc.org>2015-02-13 14:01:54 +0000
committerminyue@webrtc.org <minyue@webrtc.org>2015-02-13 14:02:17 +0000
commita8cc3440b1e3d947d0569ca1b48f49c877d46cc8 (patch)
tree7a7d4fb06921baa1cd4db81a0e7c47c0335a9cdf /webrtc/modules/audio_coding/codecs/audio_decoder.h
parent96e4db9bea49cf096044c89c94778bff525362ba (diff)
downloadwebrtc-a8cc3440b1e3d947d0569ca1b48f49c877d46cc8.tar.gz
Allowing RED decoding for Opus.
BUG=4247 TEST=reproduced and fixed the bug R=henrik.lundin@webrtc.org Review URL: https://webrtc-codereview.appspot.com/41809004 Cr-Commit-Position: refs/heads/master@{#8364} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8364 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'webrtc/modules/audio_coding/codecs/audio_decoder.h')
-rw-r--r--webrtc/modules/audio_coding/codecs/audio_decoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/webrtc/modules/audio_coding/codecs/audio_decoder.h b/webrtc/modules/audio_coding/codecs/audio_decoder.h
index 0b4e20ca53..30fdc440cc 100644
--- a/webrtc/modules/audio_coding/codecs/audio_decoder.h
+++ b/webrtc/modules/audio_coding/codecs/audio_decoder.h
@@ -69,7 +69,7 @@ class AudioDecoder {
// Returns the duration in samples of the payload in |encoded| which is
// |encoded_len| bytes long. Returns kNotImplemented if no duration estimate
// is available, or -1 in case of an error.
- virtual int PacketDuration(const uint8_t* encoded, size_t encoded_len);
+ virtual int PacketDuration(const uint8_t* encoded, size_t encoded_len) const;
// Returns the duration in samples of the redandant payload in |encoded| which
// is |encoded_len| bytes long. Returns kNotImplemented if no duration