reduce the utils.c clutter. Originally committed as revision 16516 to svn://svn.ffmpeg.org/ffmpeg/trunk