patch from Clemens Ladisch cladisch AT fastmail dot net (stray base64 patch reverted in the next commits) Originally committed as revision 8156 to svn://svn.ffmpeg.org/ffmpeg/trunk
patch by Carl Eugen Hoyos, cehoyos ag.or at Originally committed as revision 7963 to svn://svn.ffmpeg.org/ffmpeg/trunk
Signed-off-by: Mans Rullgard <mans@mansr.com>