summaryrefslogtreecommitdiff
path: root/libavformat/flacenc.c
diff options
context:
space:
mode:
authorJames Cowgill <jcowgill@debian.org>2019-11-01 08:51:07 +0000
committerPaul B Mahol <onemda@gmail.com>2019-11-01 13:38:36 +0100
commitbb718d11ed992f4d12ad683e310b53bf1c519322 (patch)
tree797f3d4a720c8bc0d274f22de3c09ab287f27345 /libavformat/flacenc.c
parent2dd71bf95e369b6c03fd6f5c66ff1d143e752192 (diff)
avcodec/libtwolame: fix mono default bitrate
As of libtwolame 0.4.0, 384 kbps is not accepted as a valid bitrate for encoding mono audio and the maximum bitrate is now halved to 192 kbps to comply with the MP2 standard. Example error: twolame_init_params(): 384kbps is an invalid bitrate for mono encoding. Adjust the default bitrate calculation to take this into account. Signed-off-by: James Cowgill <jcowgill@debian.org>
Diffstat (limited to 'libavformat/flacenc.c')
0 files changed, 0 insertions, 0 deletions