This is to get rid of a bug relating to the return of NULL in calling GetDecoder when there are DTMF packets.

BUG=3140
TEST=trybots
R=henrik.lundin@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/10929006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5830 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
minyue@webrtc.org
2014-04-02 15:03:01 +00:00
parent 1092ea0192
commit 7549ff4257
4 changed files with 20 additions and 19 deletions

View File

@ -55,8 +55,7 @@ uint32_t TimestampScaler::ToInternal(uint32_t external_timestamp,
// Use timestamp scaling with factor 2/3 (32 kHz sample rate, but RTP
// timestamps run on 48 kHz).
// TODO(tlegrand): Remove scaling for kDecoderCNGswb48kHz once ACM has
// full 48 kHz support. Change also ought to be made in
// PayloadSplitter::SplitFec().
// full 48 kHz support.
numerator_ = 2;
denominator_ = 3;
}