Patch by Christian Schmidt, schmidt digadd de Originally committed as revision 19722 to svn://svn.ffmpeg.org/ffmpeg/trunk