Consistent with lavc and lavf. Originally committed as revision 29188 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale