diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-06-21 16:36:57 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-06-21 16:38:45 -0400 |
commit | eb8f6e578ed376fe75039972850cd72179894485 (patch) | |
tree | 76e317fd093d40b209e3bb37326b96515df8cbc7 /lib/rbcodec/codecs/libspeex/speex_header.c | |
parent | bd2f5760ab38f26f88ecfdf816e976e85fcbd8e0 (diff) | |
download | rockbox-eb8f6e578ed376fe75039972850cd72179894485.tar.gz rockbox-eb8f6e578ed376fe75039972850cd72179894485.zip |
libspeex: Fix up two build regressions in 547b6a570
Broke rbspeex build if we weren't using system libspeex
Diffstat (limited to 'lib/rbcodec/codecs/libspeex/speex_header.c')
-rw-r--r-- | lib/rbcodec/codecs/libspeex/speex_header.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 | ||