mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
libspeex: Fix up two build regressions in 547b6a570
Broke rbspeex build if we weren't using system libspeex
This commit is contained in:
parent
bd2f5760ab
commit
eb8f6e578e
2 changed files with 3 additions and 1 deletions
|
|
@ -58,7 +58,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config-speex.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef OUTSIDE_SPEEX
|
#ifdef OUTSIDE_SPEEX
|
||||||
|
|
|
||||||
|
|
@ -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)
|
if (le_header->mode >= SPEEX_NB_MODES || le_header->mode < 0)
|
||||||
{
|
{
|
||||||
speex_notify("Invalid mode specified in Speex header");
|
speex_notify("Invalid mode specified in Speex header");
|
||||||
|
#if 0
|
||||||
speex_free (le_header);
|
speex_free (le_header);
|
||||||
|
#endif
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue