diff --git a/webrtc/modules/audio_coding/neteq4/decision_logic_normal.cc b/webrtc/modules/audio_coding/neteq4/decision_logic_normal.cc index 8688737c3e..a70f23b762 100644 --- a/webrtc/modules/audio_coding/neteq4/decision_logic_normal.cc +++ b/webrtc/modules/audio_coding/neteq4/decision_logic_normal.cc @@ -44,7 +44,7 @@ Operations DecisionLogicNormal::GetDecisionSpecialized( uint32_t target_timestamp = sync_buffer.end_timestamp(); uint32_t available_timestamp = 0; - int is_cng_packet = 0; + bool is_cng_packet = false; if (packet_header) { available_timestamp = packet_header->timestamp; is_cng_packet = diff --git a/webrtc/modules/audio_coding/neteq4/expand.h b/webrtc/modules/audio_coding/neteq4/expand.h index d5bff9d494..4de8d7c55b 100644 --- a/webrtc/modules/audio_coding/neteq4/expand.h +++ b/webrtc/modules/audio_coding/neteq4/expand.h @@ -139,9 +139,9 @@ class Expand { SyncBuffer* sync_buffer_; RandomVector* random_vector_; bool first_expand_; - int fs_hz_; - size_t num_channels_; - size_t overlap_length_; + const int fs_hz_; + const size_t num_channels_; + const size_t overlap_length_; int consecutive_expands_; int16_t max_lag_; size_t expand_lags_[kNumLags];