changeset 943:0566d1a8426f libavcodec

10l (int i)
author michael
date Mon, 30 Dec 2002 12:36:28 +0000
parents c237f5db1c22
children 927c246f1f6d
files libpostproc/postprocess_template.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpostproc/postprocess_template.c	Mon Dec 30 00:28:42 2002 +0000
+++ b/libpostproc/postprocess_template.c	Mon Dec 30 12:36:28 2002 +0000
@@ -2075,7 +2075,7 @@
 #endif
 //static int test=0;
 
-static void inline RENAME(tempNoiseReducer)(uint8_t *src, int stride,
+static inline void RENAME(tempNoiseReducer)(uint8_t *src, int stride,
 				    uint8_t *tempBlured, uint32_t *tempBluredPast, int *maxNoise)
 {
 	// to save a register (FIXME do this outside of the loops)
@@ -2828,6 +2828,7 @@
 			memcpy(dst, tempDst + 9*dstStride, copyAhead*dstStride);
 		else
 		{
+			int i;
 			for(i=0; i<copyAhead; i++)
 			{
 				memcpy(dst + i*dstStride, tempDst + (9+i)*dstStride, width);