diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2020-02-11 00:20:52 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2020-04-04 23:12:27 +0200 |
commit | 4679a474f06c229b10976d7f0b4eee0613c2715a (patch) | |
tree | ee7736091903d8e8027eae94436cfdc6e1874f01 /libavcodec/ac3enc_float.c | |
parent | 944cb188edda3574d52a161d785928c851810cef (diff) |
lavc: Use supported_samplerates for Dolby Digital encoders.
Fixes ticket #8518.
Diffstat (limited to 'libavcodec/ac3enc_float.c')
-rw-r--r-- | libavcodec/ac3enc_float.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/ac3enc_float.c b/libavcodec/ac3enc_float.c index d6e658b2b4..1f3111af0e 100644 --- a/libavcodec/ac3enc_float.c +++ b/libavcodec/ac3enc_float.c @@ -150,6 +150,7 @@ AVCodec ff_ac3_encoder = { .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_NONE }, .priv_class = &ac3enc_class, + .supported_samplerates = ff_ac3_sample_rate_tab, .channel_layouts = ff_ac3_channel_layouts, .defaults = ac3_defaults, }; |