avformat/flvenc: fix assertion failure after 4h muxing

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>