ffmpeg: fix bytes written statistics.