changeset 464:9b73bce5071a libavcodec

gcc 3.1 warning fix (patch by Felix Buenemann <atmosfear at users.sourceforge.net>)
author michaelni
date Sun, 02 Jun 2002 16:06:41 +0000
parents ba3e863aa316
children 76c8afc9c1eb
files simple_idct.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/simple_idct.c	Sun Jun 02 15:49:21 2002 +0000
+++ b/simple_idct.c	Sun Jun 02 16:06:41 2002 +0000
@@ -59,7 +59,7 @@
 	W7,-W5, W3,-W1, W1,-W3, W5,-W7
 };
 
-static int inline idctRowCondZ (int16_t * row)
+static inline int idctRowCondZ (int16_t * row)
 {
 	int a0, a1, a2, a3, b0, b1, b2, b3;
 
@@ -105,7 +105,7 @@
 
 #ifdef ARCH_ALPHA
 /* 0: all entries 0, 1: only first entry nonzero, 2: otherwise  */
-static int inline idctRowCondDC(int16_t *row)
+static inline int idctRowCondDC(int16_t *row)
 {
 	int_fast32_t a0, a1, a2, a3, b0, b1, b2, b3;
 	uint64_t *lrow = (uint64_t *) row;
@@ -205,7 +205,7 @@
 	return 2;
 }
 #else  /* not ARCH_ALPHA */
-static int inline idctRowCondDC (int16_t * row)
+static inline int idctRowCondDC (int16_t * row)
 {
 	int a0, a1, a2, a3, b0, b1, b2, b3;
 
@@ -252,7 +252,7 @@
 }
 #endif /* not ARCH_ALPHA */
 
-static void inline idctCol (int16_t * col)
+static inline void idctCol (int16_t * col)
 {
 
 /*
@@ -284,7 +284,7 @@
 	col[8*4] = (a3 - b3) >> COL_SHIFT;
 }
 
-static void inline idctSparseCol (int16_t * col)
+static inline void idctSparseCol (int16_t * col)
 {
 	int a0, a1, a2, a3, b0, b1, b2, b3;
 	col[0] += (1<<(COL_SHIFT-1))/W4;
@@ -372,7 +372,7 @@
 #endif
 }
 
-static void inline idctSparse2Col (int16_t * col)
+static inline void idctSparse2Col (int16_t * col)
 {
 	int a0, a1, a2, a3, b0, b1, b2, b3;
 	col[0] += (1<<(COL_SHIFT-1))/W4;