(Problem analyzed by Uoti Urpala) Originally committed as revision 15816 to svn://svn.ffmpeg.org/ffmpeg/trunk