Signed-off-by: Mans Rullgard <mans@mansr.com>
Patch by Daniel Verkamp $firstname@drv DOT nu. Originally committed as revision 18998 to svn://svn.ffmpeg.org/ffmpeg/trunk