commit | 0ca16ef3b8f42f74fdd3d32e7826f9df670bdf90 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Thu May 19 15:14:54 2016 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Thu May 19 15:14:54 2016 -0700 |
tree | 43607130c2cafdfaf1c5b3210a4ba5b9354f78b6 | |
parent | 4bc3d32b15cdcae7685722e7a20007c7aa9ae949 [diff] [blame] |
Fix misc-macro-parentheses warnings in audio media jni. Bug: 28705665 Change-Id: Iff476943a0a2c2ae68778d1f4bca5d3e9e04bd26
diff --git a/media/jni/android_media_ResampleInputStream.cpp b/media/jni/android_media_ResampleInputStream.cpp index d06baa5..fa75524 100644 --- a/media/jni/android_media_ResampleInputStream.cpp +++ b/media/jni/android_media_ResampleInputStream.cpp
@@ -36,7 +36,7 @@ using namespace android; -#define FIR_COEF(coef) (short)(0x10000 * coef) +#define FIR_COEF(coef) (short)(0x10000 * (coef)) static const short fir21[] = { FIR_COEF(-0.006965742326), FIR_COEF(-0.008428945737),