diff options
Diffstat (limited to 'lib/rbcodec')
-rw-r--r-- | lib/rbcodec/codecs/libspeex/resample.c | 2 | ||||
-rw-r--r-- | lib/rbcodec/codecs/libspeex/speex_header.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/libspeex/resample.c b/lib/rbcodec/codecs/libspeex/resample.c index 5f5b9c6b4d..5861579323 100644 --- a/lib/rbcodec/codecs/libspeex/resample.c +++ b/lib/rbcodec/codecs/libspeex/resample.c | |||
@@ -58,7 +58,7 @@ | |||
58 | */ | 58 | */ |
59 | 59 | ||
60 | #ifdef HAVE_CONFIG_H | 60 | #ifdef HAVE_CONFIG_H |
61 | #include "config.h" | 61 | #include "config-speex.h" |
62 | #endif | 62 | #endif |
63 | 63 | ||
64 | #ifdef OUTSIDE_SPEEX | 64 | #ifdef OUTSIDE_SPEEX |
diff --git a/lib/rbcodec/codecs/libspeex/speex_header.c b/lib/rbcodec/codecs/libspeex/speex_header.c index f83e0f2152..ac8312cb51 100644 --- a/lib/rbcodec/codecs/libspeex/speex_header.c +++ b/lib/rbcodec/codecs/libspeex/speex_header.c | |||
@@ -186,7 +186,9 @@ EXPORT SpeexHeader *speex_packet_to_header(char *packet, int size) | |||
186 | if (le_header->mode >= SPEEX_NB_MODES || le_header->mode < 0) | 186 | if (le_header->mode >= SPEEX_NB_MODES || le_header->mode < 0) |
187 | { | 187 | { |
188 | speex_notify("Invalid mode specified in Speex header"); | 188 | speex_notify("Invalid mode specified in Speex header"); |
189 | #if 0 | ||
189 | speex_free (le_header); | 190 | speex_free (le_header); |
191 | #endif | ||
190 | return NULL; | 192 | return NULL; |
191 | } | 193 | } |
192 | 194 | ||