commit | 9116cf7c9b6bf3b7f129cd0aeacc991635dd08ec | [log] [tgz] |
---|---|---|
author | turaj@webrtc.org <turaj@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Tue Nov 01 17:29:34 2011 +0000 |
committer | turaj@webrtc.org <turaj@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Tue Nov 01 17:29:34 2011 +0000 |
tree | 1d2a914f11315a188c29be7d8607fbb5ec8dff2b | |
parent | 29d75b3f7d04669ad821ff17cfea1e064cb265e1 [diff] |
Have a guard on computing nrg to avoid wrap-around. This is discovered in a release test. During entropy coding of spectrum the value of "nrg" was too large and after shifting it became negative, resulting in decoder error. Review URL: http://webrtc-codereview.appspot.com/239016 git-svn-id: http://webrtc.googlecode.com/svn/trunk@862 4adac7df-926f-26a2-2b94-8c16560cd09d