diff options
author | 2008-10-19 14:30:46 +0000 | |
---|---|---|
committer | 2008-10-19 14:30:46 +0000 | |
commit | 050b76c3d3c9afd163571d4851aacea9a0560e29 (patch) | |
tree | ef2db287e91f2ae8af8e7c96349603ab842b161e /media-libs/xvid/files | |
parent | Fixed gcc-4.3 issues (see bug #239567). (diff) | |
download | historical-050b76c3d3c9afd163571d4851aacea9a0560e29.tar.gz historical-050b76c3d3c9afd163571d4851aacea9a0560e29.tar.bz2 historical-050b76c3d3c9afd163571d4851aacea9a0560e29.zip |
Remove remaining files
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.26.6 x86_64
Diffstat (limited to 'media-libs/xvid/files')
-rw-r--r-- | media-libs/xvid/files/xvid-1.0.1-64bit-clean.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/media-libs/xvid/files/xvid-1.0.1-64bit-clean.patch b/media-libs/xvid/files/xvid-1.0.1-64bit-clean.patch deleted file mode 100644 index cf13e736b4a4..000000000000 --- a/media-libs/xvid/files/xvid-1.0.1-64bit-clean.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- src/motion/estimation_bvop.c.orig 2004-06-22 19:57:46.168910368 +0200 -+++ src/motion/estimation_bvop.c 2004-06-22 19:57:50.802206000 +0200 -@@ -573,16 +573,26 @@ - b_dy = (b_dy >> 3) + roundtab_76[b_dy & 0xf]; - b_dx = (b_dx >> 3) + roundtab_76[b_dx & 0xf]; - -+ /* 64-bit Fix: -+ * The variables y, stride and x are unsigned, while dy and dy are signed. If -+ * e.g. dy is < -1, the factor dy/2 becomes < 0. But because y is unsigned, the -+ * -1 value will be 'promoted' to the unsigned 0xffffffff. This is no problem on -+ * 32 bit platforms, because adding 0xffffffff to a char pointer or adding -1 -+ * the same. But on 64bit this is no longer the case. So we have to really use -+ * signed variables here (note that we assume that the unsiged values are -+ * below 0x80000000, which should be true, because otherwise all kind of -+ * other problems will additionally pop up). -+ */ - sum = sad8bi(pCur->u + 8 * x + 8 * y * stride, -- f_Ref->u + (y*8 + dy/2) * stride + x*8 + dx/2, -- b_Ref->u + (y*8 + b_dy/2) * stride + x*8 + b_dx/2, -+ f_Ref->u + ((int) y*8 + dy/2) * (int) stride + (int) x*8 + dx/2, -+ b_Ref->u + ((int) y*8 + b_dy/2) * (int) stride + (int) x*8 + b_dx/2, - stride); - - if (sum >= MAX_CHROMA_SAD_FOR_SKIP * (int)Data->iQuant) return; /* no skip */ - - sum += sad8bi(pCur->v + 8*x + 8 * y * stride, -- f_Ref->v + (y*8 + dy/2) * stride + x*8 + dx/2, -- b_Ref->v + (y*8 + b_dy/2) * stride + x*8 + b_dx/2, -+ f_Ref->v + ((int) y*8 + dy/2) * (int) stride + (int) x*8 + dx/2, -+ b_Ref->v + ((int) y*8 + b_dy/2) * (int) stride + (int) x*8 + b_dx/2, - stride); - - if (sum >= MAX_CHROMA_SAD_FOR_SKIP * (int)Data->iQuant) return; /* no skip */ |