diff options
| author | Jean-Baptiste Queru <jbq@google.com> | 2012-08-13 10:56:58 -0700 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2012-08-13 10:56:58 -0700 |
| commit | 8cf9c1a8640553a146f3a7aad01b393c664a46af (patch) | |
| tree | d862c8a9dc8a7e71754d5e01abec6d7a8439c7a5 | |
| parent | d58a68a4d6915d43d8b9d02ebfe04be62efe2eb1 (diff) | |
| parent | 10004fe612bc38bedc258fd1c380ebccacfa0c1e (diff) | |
| download | frameworks_av-8cf9c1a8640553a146f3a7aad01b393c664a46af.zip frameworks_av-8cf9c1a8640553a146f3a7aad01b393c664a46af.tar.gz frameworks_av-8cf9c1a8640553a146f3a7aad01b393c664a46af.tar.bz2 | |
am 10004fe6: am 5efa7bf9: Merge "amrnb: Fix audio distortion in an AMR-NB clip"
* commit '10004fe612bc38bedc258fd1c380ebccacfa0c1e':
amrnb: Fix audio distortion in an AMR-NB clip
| -rw-r--r-- | media/libstagefright/codecs/amrnb/dec/src/post_pro.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/codecs/amrnb/dec/src/post_pro.cpp b/media/libstagefright/codecs/amrnb/dec/src/post_pro.cpp index ce31793..8201e54 100644 --- a/media/libstagefright/codecs/amrnb/dec/src/post_pro.cpp +++ b/media/libstagefright/codecs/amrnb/dec/src/post_pro.cpp @@ -376,7 +376,7 @@ void Post_Process( L_tmp += ((Word32) st->x0) * c_b0; L_tmp += ((Word32) st->x1) * c_b1; L_tmp += ((Word32) x2) * c_b2; - L_tmp <<= 3; + L_tmp = L_shl(L_tmp, 3, pOverflow); /* Multiplication by two of output speech with saturation. */ |
