# HG changeset patch # User michael # Date 1221254742 0 # Node ID 21590d0bb4e685408af94711508da222d6e274de # Parent f4cab7872474e2877959aef18058aafeba3fb1c7 The yuv->rgb tables are too small for clipping to be avoidable, thus revert the respective optimization. The table generator code has to be rewritten anyway one day by some volunteer because it is not LGPL, fixing the GPL table generator thus seems like wasted time. diff -r f4cab7872474 -r 21590d0bb4e6 libswscale/swscale.c --- a/libswscale/swscale.c Fri Sep 12 18:05:57 2008 +0000 +++ b/libswscale/swscale.c Fri Sep 12 21:25:42 2008 +0000 @@ -540,7 +540,7 @@ } #define YSCALE_YUV_2_RGBX_C(type) \ - YSCALE_YUV_2_PACKEDX_NOCLIP_C(type) \ + YSCALE_YUV_2_PACKEDX_C(type) /* FIXME fix tables so that cliping is not needed and then use _NOCLIP*/\ r = (type *)c->table_rV[V]; \ g = (type *)(c->table_gU[U] + c->table_gV[V]); \ b = (type *)c->table_bU[U]; \