patch by tripp, eliared yahoo com Originally committed as revision 14431 to svn://svn.ffmpeg.org/ffmpeg/trunk