summaryrefslogtreecommitdiff
path: root/libavcodec/ac3tab.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2020-02-11 00:20:52 +0100
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2020-04-04 23:12:27 +0200
commit4679a474f06c229b10976d7f0b4eee0613c2715a (patch)
treeee7736091903d8e8027eae94436cfdc6e1874f01 /libavcodec/ac3tab.c
parent944cb188edda3574d52a161d785928c851810cef (diff)
lavc: Use supported_samplerates for Dolby Digital encoders.
Fixes ticket #8518.
Diffstat (limited to 'libavcodec/ac3tab.c')
-rw-r--r--libavcodec/ac3tab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3tab.c b/libavcodec/ac3tab.c
index bd88f32d92..96ef8ebaeb 100644
--- a/libavcodec/ac3tab.c
+++ b/libavcodec/ac3tab.c
@@ -126,7 +126,7 @@ const uint8_t ff_ac3_dec_channel_map[8][2][6] = {
};
/* possible frequencies */
-const uint16_t ff_ac3_sample_rate_tab[3] = { 48000, 44100, 32000 };
+const int ff_ac3_sample_rate_tab[3] = { 48000, 44100, 32000 };
/* possible bitrates */
const uint16_t ff_ac3_bitrate_tab[19] = {