fix total bitrate computation, based on patch by corp186, chasedouglas at gmail dot com