patch by Anuradha Suraparaju, anuradha rd.bbc.co uk Originally committed as revision 13046 to svn://svn.ffmpeg.org/ffmpeg/trunk