mpegenc: simplify muxrate calculation
authorJanne Grunau <janne-libav@jannau.net>
Sun, 1 Jan 2012 22:32:15 +0000 (23:32 +0100)
committerJanne Grunau <janne-libav@jannau.net>
Sun, 1 Jan 2012 23:23:40 +0000 (00:23 +0100)
commitaf9240cd3c6fb257ac2d0843334145f022ef5959
treed75e07da8f3bae00223d2b555f46bbb7d181fb22
parentf15f02c204e5fe355e084923c34dda1c6c3a66ec
mpegenc: simplify muxrate calculation

The fate-h264-bsf-mp4toannexb failures were caused by an integer
overflow of the unneeded multiplication.

Inspired by patch by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mpegenc.c