Signed-off-by: Mans Rullgard <mans@mansr.com>
Original patch by Justin, updated and resubmitted by Christophe Gisquet, christophe D gisquet A gmail Originally committed as revision 22734 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 19501 to svn://svn.ffmpeg.org/ffmpeg/trunk