diff options
author | Sampo Savolainen <v2@iki.fi> | 2006-08-05 20:11:50 +0000 |
---|---|---|
committer | Sampo Savolainen <v2@iki.fi> | 2006-08-05 20:11:50 +0000 |
commit | f961bbd941d1e9c90c13d53f62abd7de7878195b (patch) | |
tree | a86767c29ed6b6c409fa3feeb49d74e3f5950485 /libs/libsndfile | |
parent | 4a84220fd97521d0422b5c207a00d7e8daf8fe84 (diff) |
Fix for compiling with gcc 4.1. Inlining functions which are used
by assigning pointers to the function doesn't make any sense.
git-svn-id: svn://localhost/ardour2/trunk@761 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/libsndfile')
-rw-r--r-- | libs/libsndfile/src/flac.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/libsndfile/src/flac.c b/libs/libsndfile/src/flac.c index 1f0872f0bd..b74a4e3253 100644 --- a/libs/libsndfile/src/flac.c +++ b/libs/libsndfile/src/flac.c @@ -128,38 +128,38 @@ static const int legal_sample_rates [] = { 8000, 16000, 22050, 24000, 32000, 44100, 48000, 96000 } ; -static inline void +static void s2flac8_array (const short *src, FLAC__int32 *dest, int count) { while (--count >= 0) dest [count] = src [count] >> 8 ; } /* s2flac8_array */ -static inline void +static void s2flac16_array (const short *src, FLAC__int32 *dest, int count) { while (--count >= 0) dest [count] = src [count] ; } /* s2flac16_array */ -static inline void +static void s2flac24_array (const short *src, FLAC__int32 *dest, int count) { while (--count >= 0) dest [count] = src [count] << 8 ; } /* s2flac24_array */ -static inline void +static void i2flac8_array (const int *src, FLAC__int32 *dest, int count) { while (--count >= 0) dest [count] = src [count] >> 24 ; } /* i2flac8_array */ -static inline void +static void i2flac16_array (const int *src, FLAC__int32 *dest, int count) { while (--count >= 0) dest [count] = src [count] >> 16 ; } /* i2flac16_array */ -static inline void +static void i2flac24_array (const int *src, FLAC__int32 *dest, int count) { while (--count >= 0) dest [count] = src [count] >> 8 ; |