Method WebRtc_g722_encode that is eventually called always returns non-negative integer (internal counter)
R=kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/34259004 Cr-Commit-Position: refs/heads/master@{#8428} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8428 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
47d657b68e
commit
50604128db
@ -101,8 +101,6 @@ bool AudioEncoderG722::EncodeInternal(uint32_t rtp_timestamp,
|
||||
const int encoded = WebRtcG722_Encode(
|
||||
encoders_[i].encoder, encoders_[i].speech_buffer.get(),
|
||||
samples_per_channel, encoders_[i].encoded_buffer.get());
|
||||
if (encoded < 0)
|
||||
return false;
|
||||
CHECK_EQ(encoded, samples_per_channel / 2);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user