bf4a90fcc3
This is 10x faster than the cooresponding C function. Originally committed as revision 23345 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale