summaryrefslogtreecommitdiff
path: root/libavcodec/aacsbr_tablegen_common.h
diff options
context:
space:
mode:
authorJun Zhao <mypopydev@gmail.com>2018-06-04 21:42:18 +0800
committerJun Zhao <jun.zhao@intel.com>2018-06-10 08:46:18 +0800
commit12138402652f28649e63629ef76fba8b71561afb (patch)
treefd9e82bc35da07df6a775721aec99a352ee4ce0b /libavcodec/aacsbr_tablegen_common.h
parent4030d3d3f4951c3df63e8231df90621eb75bb832 (diff)
lavc/aacsbr: fix make checkheaders warning
move the the function aacsbr_tableinit definition from header file to .c file to fix make checkheaders warning. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
Diffstat (limited to 'libavcodec/aacsbr_tablegen_common.h')
-rw-r--r--libavcodec/aacsbr_tablegen_common.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/libavcodec/aacsbr_tablegen_common.h b/libavcodec/aacsbr_tablegen_common.h
index 8c8f6effa1..8e0dd9e1fd 100644
--- a/libavcodec/aacsbr_tablegen_common.h
+++ b/libavcodec/aacsbr_tablegen_common.h
@@ -111,16 +111,4 @@ static DECLARE_ALIGNED(32, INTFLOAT, sbr_qmf_window_us)[640] = {
Q31( 0.8537385600f),
};
-static av_cold void aacsbr_tableinit(void)
-{
- int n;
- for (n = 1; n < 320; n++)
- sbr_qmf_window_us[320 + n] = sbr_qmf_window_us[320 - n];
- sbr_qmf_window_us[384] = -sbr_qmf_window_us[384];
- sbr_qmf_window_us[512] = -sbr_qmf_window_us[512];
-
- for (n = 0; n < 320; n++)
- sbr_qmf_window_ds[n] = sbr_qmf_window_us[2*n];
-}
-
#endif /* AVCODEC_AACSBR_TABLEGEN_COMMON_H */