[MPlayer-dev-eng] [PATCH] trivial warning fix - inline keyword - libfaad2/ps_dec.c

Pierre Lombard p_l at gmx.fr
Fri May 5 10:44:23 CEST 2006


Hi,

The patch attached fixes some gcc warnings.

-- 
Pierre Lombard
GPG: 0x1AF0803C
-------------- next part --------------
Index: libfaad2/ps_dec.c
===================================================================
RCS file: /cvsroot/mplayer/main/libfaad2/ps_dec.c,v
retrieving revision 1.5
diff -u -r1.5 ps_dec.c
--- libfaad2/ps_dec.c	18 Apr 2006 19:39:31 -0000	1.5
+++ libfaad2/ps_dec.c	5 May 2006 08:38:28 -0000
@@ -165,7 +165,7 @@
 static hyb_info *hybrid_init(void);
 static void channel_filter2(hyb_info *hyb, uint8_t frame_len, const real_t *filter,
                             qmf_t *buffer, qmf_t **X_hybrid);
-static void INLINE DCT3_4_unscaled(real_t *y, real_t *x);
+static INLINE void DCT3_4_unscaled(real_t *y, real_t *x);
 static void channel_filter8(hyb_info *hyb, uint8_t frame_len, const real_t *filter,
                             qmf_t *buffer, qmf_t **X_hybrid);
 static void hybrid_analysis(hyb_info *hyb, qmf_t X[32][64], qmf_t X_hybrid[32][32],
@@ -341,7 +341,7 @@
     }
 }
 
-static void INLINE DCT3_4_unscaled(real_t *y, real_t *x)
+static INLINE void DCT3_4_unscaled(real_t *y, real_t *x)
 {
     real_t f0, f1, f2, f3, f4, f5, f6, f7, f8;
 
@@ -432,7 +432,7 @@
     }
 }
 
-static void INLINE DCT3_6_unscaled(real_t *y, real_t *x)
+static INLINE void DCT3_6_unscaled(real_t *y, real_t *x)
 {
     real_t f0, f1, f2, f3, f4, f5, f6, f7;
 


More information about the MPlayer-dev-eng mailing list