Values for unsupported frequencies > 48000 Hz are still included (parser will make use of them). Also convert sampling frequencies array to unsigned.
Showing the changes to libavcodec/dcadata.h (1 of 3 files). Show all
Unified · Split
| @@ -71,7 +71,8 @@ extern const uint16_t ff_dca_xll_refl_coeff[128]; · 70 unmodified lines | ||
| 71 | 71 | |
| 72 | 72 | extern const int32_t ff_dca_xll_band_coeff[20]; |
| 73 | 73 | |
| 74 | −extern const int32_t ff_dca_sampling_freqs[16]; | |
| 74 | +extern const uint32_t ff_dca_sampling_freqs[16]; | |
| 75 | +extern const uint8_t ff_dca_freq_ranges[16]; | |
| 75 | 76 | |
| 76 | 77 | extern const uint16_t ff_dca_avg_g3_freqs[3]; |
| 77 | 78 | |