1
0
Fork 0
forked from len0rd/rockbox

libspeex: Fix up two build regressions in 547b6a570

Broke rbspeex build if we weren't using system libspeex
This commit is contained in:
Solomon Peachy 2024-06-21 16:36:57 -04:00
parent bd2f5760ab
commit eb8f6e578e
2 changed files with 3 additions and 1 deletions

View file

@ -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;
}