Fix temporary decoder buffer sizes

Some of these were excessively large because of redundant factors
in the size calculation.
3 files changed