patch by Zdenek Kabelac, zdenek d kabelac a gmail d com Originally committed as revision 11608 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 11539 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 11091 to svn://svn.ffmpeg.org/ffmpeg/trunk