summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-05-05 06:33:20 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-05-05 06:33:20 +0000
commitf8d7e73fffd0ff0276809def521f9c56e8970811 (patch)
treeb1b7069115858d12123127d952b896e1ef2cbed9
parentAdd pango, it is need for the subtitle. Totem and maybe other apps don't work (diff)
- Fix build on 4.x
Reported by: Randy Pratt <rpratt1950@earthlink.net>
Notes
Notes: svn path=/head/; revision=134644
-rw-r--r--multimedia/mjpegtools-yuvfilters/files/patch-yuvdeinterlace.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/multimedia/mjpegtools-yuvfilters/files/patch-yuvdeinterlace.c b/multimedia/mjpegtools-yuvfilters/files/patch-yuvdeinterlace.c
new file mode 100644
index 000000000000..ad6d62bd442c
--- /dev/null
+++ b/multimedia/mjpegtools-yuvfilters/files/patch-yuvdeinterlace.c
@@ -0,0 +1,18 @@
+--- yuvdeinterlace.c.orig Thu May 5 02:20:45 2005
++++ yuvdeinterlace.c Thu May 5 02:20:45 2005
+@@ -239,6 +239,7 @@
+
+ for (y=0; y<h; y+=2)
+ {
++ register unsigned int x;
+
+ if (interlaced == Y4M_ILACE_BOTTOM_FIRST ) {
+ /* copy the luminance scan line from the odd frame */
+@@ -256,7 +257,6 @@
+ }
+
+ /* average the chroma data */
+- unsigned int x;
+ for (x=0; x<(w>>1); x++) {
+ yuv_data[1][(y>>1)*(w>>1)+x]= (yuv_o1data[1][(y>>1)*(w>>1)+x]+yuv_o2data[1][(y>>1)*(w>>1)+x])/2 ;
+ yuv_data[2][(y>>1)*(w>>1)+x]= (yuv_o1data[2][(y>>1)*(w>>1)+x]+yuv_o2data[2][(y>>1)*(w>>1)+x])/2 ;