Patch by Thorsten Jordan: tjordan macrosystem de Originally committed as revision 10742 to svn://svn.ffmpeg.org/ffmpeg/trunk