webrtc/modules/audio_coding/neteq
Henrik Lundin 8731176b92 NetEq: Fix an UBSan error
UBSan will trigger when shifting a negative value. This change avoids
that by replacing "x << 8" with "x * (1 << 8)".

Bug: chromium:666877
Change-Id: Ic89bd98e5a3feff35075df96b104b386cb4d8803
Reviewed-on: https://webrtc-review.googlesource.com/14552
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20387}
2017-10-23 11:56:47 +00:00
..
include NetEq: Drop unnecessary dependency on the audio decoder implementations 2017-10-16 12:57:47 +00:00
mock Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
test NetEq: Drop unnecessary dependency on the audio decoder implementations 2017-10-16 12:57:47 +00:00
tools Fixing warning C4267 on Win (more_configs). 2017-10-19 07:39:22 +00:00
accelerate.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
accelerate.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
audio_decoder_unittest.cc NetEq: Drop unnecessary dependency on the audio decoder implementations 2017-10-16 12:57:47 +00:00
audio_multi_vector.cc Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
audio_multi_vector.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
audio_multi_vector_unittest.cc Fixing warning C4267 on Win (more_configs). 2017-10-19 07:39:22 +00:00
audio_vector.cc Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
audio_vector.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
audio_vector_unittest.cc Fixing warning C4267 on Win (more_configs). 2017-10-19 07:39:22 +00:00
background_noise.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
background_noise.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
background_noise_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
buffer_level_filter.cc NetEq: Fix an UBSan error 2017-10-23 11:56:47 +00:00
buffer_level_filter.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
buffer_level_filter_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
comfort_noise.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
comfort_noise.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
comfort_noise_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
cross_correlation.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
cross_correlation.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
decision_logic.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
decision_logic.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
decision_logic_fax.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
decision_logic_fax.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
decision_logic_normal.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
decision_logic_normal.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
decision_logic_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
decoder_database.cc NetEq: Drop unnecessary dependency on the audio decoder implementations 2017-10-16 12:57:47 +00:00
decoder_database.h NetEq: Drop unnecessary dependency on the audio decoder implementations 2017-10-16 12:57:47 +00:00
decoder_database_unittest.cc NetEq: Drop unnecessary dependency on the audio decoder implementations 2017-10-16 12:57:47 +00:00
defines.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
delay_manager.cc Bugfix for histogram scaling function in NetEq's DelayManager. 2017-10-18 12:58:18 +00:00
delay_manager.h NetEq: Drop unnecessary dependency on the audio decoder implementations 2017-10-16 12:57:47 +00:00
delay_manager_unittest.cc Added experiment to improve handling of frame length changes in NetEq. 2017-10-13 13:26:57 +00:00
delay_peak_detector.cc Added experiment to improve handling of frame length changes in NetEq. 2017-10-13 13:26:57 +00:00
delay_peak_detector.h Added experiment to improve handling of frame length changes in NetEq. 2017-10-13 13:26:57 +00:00
delay_peak_detector_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
dsp_helper.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
dsp_helper.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
dsp_helper_unittest.cc Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
dtmf_buffer.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
dtmf_buffer.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
dtmf_buffer_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
dtmf_tone_generator.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
dtmf_tone_generator.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
dtmf_tone_generator_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
expand.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
expand.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
expand_unittest.cc Fixing warning C4267 on Win (more_configs). 2017-10-19 07:39:22 +00:00
merge.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
merge.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
merge_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
nack_tracker.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
nack_tracker.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
nack_tracker_unittest.cc Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
neteq.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
neteq_decoder_enum.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
neteq_decoder_enum.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
neteq_external_decoder_unittest.cc Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
neteq_impl.cc Avoid NetEq triggering a Framelength change when receiving an FEC packet. 2017-10-20 11:56:23 +00:00
neteq_impl.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
neteq_impl_unittest.cc Fixing other unsafe conversions. 2017-10-23 07:59:39 +00:00
neteq_network_stats_unittest.cc Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
neteq_stereo_unittest.cc Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
neteq_unittest.cc Avoid NetEq triggering a Framelength change when receiving an FEC packet. 2017-10-20 11:56:23 +00:00
neteq_unittest.proto Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
normal.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
normal.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
normal_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
packet.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
packet.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
packet_buffer.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
packet_buffer.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
packet_buffer_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
post_decode_vad.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
post_decode_vad.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
post_decode_vad_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
preemptive_expand.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
preemptive_expand.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
random_vector.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
random_vector.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
random_vector_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
red_payload_splitter.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
red_payload_splitter.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
red_payload_splitter_unittest.cc Fixing warning C4267 on Win (more_configs). 2017-10-19 07:39:22 +00:00
rtcp.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtcp.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
statistics_calculator.cc We don't want implicit conversion from size_t to int 2017-10-16 12:51:48 +00:00
statistics_calculator.h Added RTCMediaStreamTrackStats.jitterBufferDelay for audio 2017-10-02 10:47:00 +00:00
statistics_calculator_unittest.cc NetEq: Simplify the dependencies of GetNetworkStatistics 2017-09-25 20:32:12 +00:00
sync_buffer.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
sync_buffer.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
sync_buffer_unittest.cc Fixing warning C4267 on Win (more_configs). 2017-10-19 07:39:22 +00:00
tick_timer.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
tick_timer.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
tick_timer_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
time_stretch.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
time_stretch.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
time_stretch_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
timestamp_scaler.cc NetEq: Drop unnecessary dependency on the audio decoder implementations 2017-10-16 12:57:47 +00:00
timestamp_scaler.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
timestamp_scaler_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00