own llrint() is to be used. Originally committed as revision 16257 to svn://svn.ffmpeg.org/ffmpeg/trunk