mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Fix build on 4.x
Reported by: Randy Pratt <rpratt1950@earthlink.net>
This commit is contained in:
parent
74d58c1aa0
commit
f8d7e73fff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134644
1 changed files with 18 additions and 0 deletions
|
@ -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 ;
|
Loading…
Add table
Reference in a new issue