Patch by Alexander Strange %astrange A ithinksw PP com % Originally committed as revision 12137 to svn://svn.ffmpeg.org/ffmpeg/trunk