Patch by ami_stuff, ami_stuff o2 pl Originally committed as revision 21230 to svn://svn.ffmpeg.org/ffmpeg/trunk