Signed-off-by: Mans Rullgard <mans@mansr.com>
code. Originally committed as revision 26112 to svn://svn.ffmpeg.org/ffmpeg/trunk