| Index: webrtc/modules/audio_coding/codecs/isac/main/source/arith_routines_hist.c
|
| diff --git a/webrtc/modules/audio_coding/codecs/isac/main/source/arith_routines_hist.c b/webrtc/modules/audio_coding/codecs/isac/main/source/arith_routines_hist.c
|
| index 63e4928bd8814e5e48ce2050d42d3888851bdb74..47bbe31b8ae4d9e898cfabea845adb7ffb912fcc 100644
|
| --- a/webrtc/modules/audio_coding/codecs/isac/main/source/arith_routines_hist.c
|
| +++ b/webrtc/modules/audio_coding/codecs/isac/main/source/arith_routines_hist.c
|
| @@ -214,10 +214,10 @@ int WebRtcIsac_DecHistOneStepMulti(int *data, /* output: data vector */
|
| if (streamdata->stream_index == 0) /* first time decoder is called for this stream */
|
| {
|
| /* read first word from bytestream */
|
| - streamval = *stream_ptr << 24;
|
| - streamval |= *++stream_ptr << 16;
|
| - streamval |= *++stream_ptr << 8;
|
| - streamval |= *++stream_ptr;
|
| + streamval = (uint32_t)(*stream_ptr) << 24;
|
| + streamval |= (uint32_t)(*++stream_ptr) << 16;
|
| + streamval |= (uint32_t)(*++stream_ptr) << 8;
|
| + streamval |= (uint32_t)(*++stream_ptr);
|
| } else {
|
| streamval = streamdata->streamval;
|
| }
|
|
|