diff options
| author | Thom Johansen <thomj@rockbox.org> | 2007-11-01 21:30:51 +0000 |
|---|---|---|
| committer | Thom Johansen <thomj@rockbox.org> | 2007-11-01 21:30:51 +0000 |
| commit | bf1b7f131c933b83afe62f01c200366e4e2e37f3 (patch) | |
| tree | a9ab90e6a01df357b7a8649d8e626a47e1678f64 /apps/codecs/libspeex/speex_header.c | |
| parent | 6d88717f6949587908ec08affa07d06239c3bae1 (diff) | |
| download | rockbox-bf1b7f131c933b83afe62f01c200366e4e2e37f3.zip rockbox-bf1b7f131c933b83afe62f01c200366e4e2e37f3.tar.gz rockbox-bf1b7f131c933b83afe62f01c200366e4e2e37f3.tar.bz2 rockbox-bf1b7f131c933b83afe62f01c200366e4e2e37f3.tar.xz | |
First attempt at ifdeffing out as much of the encoder stuff as possible from Speex. Gives a smaller binary and allows me to remove a couple more files from SOURCES.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15394 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libspeex/speex_header.c')
| -rw-r--r-- | apps/codecs/libspeex/speex_header.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/codecs/libspeex/speex_header.c b/apps/codecs/libspeex/speex_header.c index 2e7c415..8fd1665 100644 --- a/apps/codecs/libspeex/speex_header.c +++ b/apps/codecs/libspeex/speex_header.c @@ -67,6 +67,7 @@ typedef struct SpeexHeader { } SpeexHeader; */ +#ifndef SPEEX_DISABLE_ENCODER void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const SpeexMode *m) { int i; @@ -125,6 +126,7 @@ char *speex_header_to_packet(SpeexHeader *header, int *size) *size = sizeof(SpeexHeader); return (char *)le_header; } +#endif SpeexHeader *speex_packet_to_header(char *packet, int size) { |