From 73d0e14f4494b98e0c781934fbf19efa8d6d8418 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Thu, 2 Jun 2011 20:52:54 +0000 Subject: Disable some unused code in speex to save binsize. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29949 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libspeex/speex/speex.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/codecs/libspeex/speex/speex.h') diff --git a/apps/codecs/libspeex/speex/speex.h b/apps/codecs/libspeex/speex/speex.h index ffb0714f1c..086d492670 100644 --- a/apps/codecs/libspeex/speex/speex.h +++ b/apps/codecs/libspeex/speex/speex.h @@ -263,6 +263,7 @@ typedef struct SpeexMode { bitstream compatibility*/ int bitstream_version; +#ifndef SPEEX_DISABLE_ENCODER /** Pointer to encoder initialization function */ encoder_init_func enc_init; @@ -271,6 +272,7 @@ typedef struct SpeexMode { /** Pointer to frame encoding function */ encode_func enc; +#endif /** Pointer to decoder initialization function */ decoder_init_func dec_init; @@ -281,8 +283,10 @@ typedef struct SpeexMode { /** Pointer to frame decoding function */ decode_func dec; +#ifndef SPEEX_DISABLE_ENCODER /** ioctl-like requests for encoder */ encoder_ctl_func enc_ctl; +#endif /** ioctl-like requests for decoder */ decoder_ctl_func dec_ctl; -- cgit v1.2.3