Patch by Alexander Strange ( astrange ithinksw com ) Originally committed as revision 12767 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 11091 to svn://svn.ffmpeg.org/ffmpeg/trunk