Patch by Thad Ward coderjoe69¤yahoo°com Originally committed as revision 23757 to svn://svn.ffmpeg.org/ffmpeg/trunk