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