Originally committed as revision 16003 to svn://svn.ffmpeg.org/ffmpeg/trunk
patch by Kenan Gillet, kenan.gillet gmail com Originally committed as revision 15978 to svn://svn.ffmpeg.org/ffmpeg/trunk