6a36798f9b
patch by Michael Kostylev, michael.kostylev gmail com Originally committed as revision 22854 to svn://svn.ffmpeg.org/ffmpeg/trunk