summaryrefslogtreecommitdiffstats
path: root/libFDK/src/FDK_tools_rom.cpp
diff options
context:
space:
mode:
authorStefan Pöschel <github@basicmaster.de>2017-02-12 14:31:32 +0100
committerStefan Pöschel <github@basicmaster.de>2017-02-12 14:41:55 +0100
commit725713585f9bbf668abbe5b94c1ed01b921b1fcb (patch)
tree073a2e725c1727c00c646c38f50afc6ca2095789 /libFDK/src/FDK_tools_rom.cpp
parentaad197a2a2e3b8897279a34778946355589b02fa (diff)
downloadfdk-aac-725713585f9bbf668abbe5b94c1ed01b921b1fcb.tar.gz
fdk-aac-725713585f9bbf668abbe5b94c1ed01b921b1fcb.tar.bz2
fdk-aac-725713585f9bbf668abbe5b94c1ed01b921b1fcb.zip
Fix bitrates over 144 kBit/s
When the desired bitrate and therefore the size of the output Superframe was too high (over 144 kBit/s), the default output buffer size (with 2 channels: 2^11 = 2048 bytes) was exceeded. As the buffer write function applies a bitmask to the target address, silently a rollover occured and the function continued to (over)write at the start of the buffer. Thus the encoding output got unusable. To fix this, consider the maximum allowed Superframe size (for 192 kBit/s) when the output buffer size is set.
Diffstat (limited to 'libFDK/src/FDK_tools_rom.cpp')
0 files changed, 0 insertions, 0 deletions