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
This commit is contained in:
@ -1134,7 +1134,7 @@ int AudioDecoderProxy::ErrorCode() {
|
||||
}
|
||||
|
||||
int AudioDecoderProxy::PacketDuration(const uint8_t* encoded,
|
||||
size_t encoded_len) {
|
||||
size_t encoded_len) const {
|
||||
CriticalSectionScoped decoder_lock(decoder_lock_.get());
|
||||
return decoder_->PacketDuration(encoded, encoded_len);
|
||||
}
|
||||
|
||||
@ -1004,7 +1004,7 @@ class AudioDecoderProxy final : public AudioDecoder {
|
||||
uint32_t rtp_timestamp,
|
||||
uint32_t arrival_timestamp) override;
|
||||
int ErrorCode() override;
|
||||
int PacketDuration(const uint8_t* encoded, size_t encoded_len) override;
|
||||
int PacketDuration(const uint8_t* encoded, size_t encoded_len) const override;
|
||||
int PacketDurationRedundant(const uint8_t* encoded,
|
||||
size_t encoded_len) const override;
|
||||
bool PacketHasFec(const uint8_t* encoded, size_t encoded_len) const override;
|
||||
|
||||
Reference in New Issue
Block a user