Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1245)

Unified Diff: modules/audio_coding/neteq/merge.c

Issue 9159058: Initialized variable w16_stopPos to 0. (Closed) Base URL: http://git.chromium.org/external/webrtc/src.git@master
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/audio_coding/neteq/merge.c
diff --git a/modules/audio_coding/neteq/merge.c b/modules/audio_coding/neteq/merge.c
index 11ff41211c74cf2ec5a01f6addfdf886dcd14365..328323d33ae1b7e961e3428f014ed38a7aaea8a8 100644
--- a/modules/audio_coding/neteq/merge.c
+++ b/modules/audio_coding/neteq/merge.c
@@ -112,7 +112,7 @@ int WebRtcNetEQ_Merge(DSPInst_t *inst,
WebRtc_Word16 pw16_corrVec[4+60+4];
#endif
WebRtc_Word16 *pw16_corr = &pw16_corrVec[4];
- WebRtc_Word16 w16_stopPos, w16_bestIndex, w16_interpLen;
+ WebRtc_Word16 w16_stopPos = 0, w16_bestIndex, w16_interpLen;
WebRtc_Word16 w16_bestVal; /* bestVal is dummy */
WebRtc_Word16 w16_startfact, w16_inc;
WebRtc_Word16 w16_expandedLen;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698