From eb8f6e578ed376fe75039972850cd72179894485 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 21 Jun 2024 16:36:57 -0400 Subject: libspeex: Fix up two build regressions in 547b6a570 Broke rbspeex build if we weren't using system libspeex --- lib/rbcodec/codecs/libspeex/speex_header.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/rbcodec/codecs/libspeex/speex_header.c') 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) if (le_header->mode >= SPEEX_NB_MODES || le_header->mode < 0) { speex_notify("Invalid mode specified in Speex header"); +#if 0 speex_free (le_header); +#endif return NULL; } -- cgit v1.2.3