[Mplayer-cvslog] CVS: main/postproc postprocess_template.c,1.68,1.69

Sascha Sommer saschasommer at freenet.de
Mon Dec 30 13:17:26 CET 2002


> Update of /cvsroot/mplayer/main/postproc
> In directory mail:/var/tmp.root/cvs-serv3763
>
> Modified Files:
> postprocess_template.c
> Log Message:
> cleaning corners of green dirt ;)
>
>
> Index: postprocess_template.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/postproc/postprocess_template.c,v
> retrieving revision 1.68
> retrieving revision 1.69
> diff -u -r1.68 -r1.69
> --- postprocess_template.c 23 Nov 2002 10:58:05 -0000 1.68
> +++ postprocess_template.c 29 Dec 2002 23:31:52 -0000 1.69
> @@ -2824,7 +2824,15 @@
>   dstBlock+=8;
>   srcBlock+=8;
>   }
> - memcpy(dst, tempDst + 9*dstStride, copyAhead*dstStride );
> + if(width==dstStride)
> + memcpy(dst, tempDst + 9*dstStride, copyAhead*dstStride);
> + else
> + {
> + for(i=0; i<copyAhead; i++)
> + {
> + memcpy(dst + i*dstStride, tempDst + (9+i)*dstStride, width);
> + }
> + }
>   }
>
>  //printf("\n");
> @@ -3050,7 +3058,15 @@
>   if(y+15 >= height)
>   {
>   uint8_t *dstBlock= &(dst[y*dstStride]);
> - memcpy(dstBlock, tempDst + dstStride, dstStride*(height-y) );
> + if(width==dstStride)
> + memcpy(dstBlock, tempDst + dstStride, dstStride*(height-y));
> + else
> + {
> + for(i=0; i<height-y; i++)
> + {
> + memcpy(dstBlock + i*dstStride, tempDst + (i+1)*dstStride, width);
> + }
> + }
>   }
>  /*
>   for(x=0; x<width; x+=32)
>
make -C postproc
make[1]: Entering directory `/home/unknown/mainc/postproc'
gcc -c -g -O4 -march=i486 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer 
-D_L
ARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__CYGWIN__  -I. -I..  -o
postprocess.o
postprocess.c
In file included from postprocess.c:407:
postprocess_template.c: In function `postProcess_C':
postprocess_template.c:2831: `i' undeclared (first use in this function)
postprocess_template.c:2831: (Each undeclared identifier is reported only
once
postprocess_template.c:2831: for each function it appears in.)
make[1]: *** [postprocess.o] Error 1
make[1]: Leaving directory `/home/unknown/mainc/postproc'
make: *** [postproc/libpostproc.a] Error 2

S. Sommer




More information about the MPlayer-cvslog mailing list