avcodec/dca: use LUT for LBR frequency ranges

Values for unsupported frequencies > 48000 Hz are still included (parser
will make use of them).

Also convert sampling frequencies array to unsigned.

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
foo86
2016-05-13 12:48:27 +03:00
committed by James Almer
parent 801dbf0269
commit 64fe1eebdd
3 changed files with 12 additions and 12 deletions
+2 -1
View File
@@ -71,7 +71,8 @@ extern const uint16_t ff_dca_xll_refl_coeff[128];
extern const int32_t ff_dca_xll_band_coeff[20];
extern const int32_t ff_dca_sampling_freqs[16];
extern const uint32_t ff_dca_sampling_freqs[16];
extern const uint8_t ff_dca_freq_ranges[16];
extern const uint16_t ff_dca_avg_g3_freqs[3];