[vlc-commits] speex: drop some unused defines

Tristan Matthews git at videolan.org
Fri Feb 17 14:39:36 CET 2017


vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Fri Feb 17 08:39:17 2017 -0500| [c838147a373bec67695826f5846e6b1c8ff96660] | committer: Tristan Matthews

speex: drop some unused defines

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c838147a373bec67695826f5846e6b1c8ff96660
---

 modules/codec/speex.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/modules/codec/speex.c b/modules/codec/speex.c
index dcea9a8..71fde34 100644
--- a/modules/codec/speex.c
+++ b/modules/codec/speex.c
@@ -878,10 +878,6 @@ static block_t *SendPacket( decoder_t *p_dec, block_t *p_block )
 /*****************************************************************************
  * ParseSpeexComments:
  *****************************************************************************/
-#define readint(buf, base) (((buf[base+3]<<24)&0xff000000)| \
-                           ((buf[base+2]<<16)&0xff0000)| \
-                           ((buf[base+1]<<8)&0xff00)| \
-                            (buf[base]&0xff))
 
 static void ParseSpeexComments( decoder_t *p_dec, ogg_packet *p_oggpacket )
 {
@@ -934,7 +930,6 @@ static void CloseDecoder( vlc_object_t *p_this )
 /*****************************************************************************
  * encoder_sys_t: encoder descriptor
  *****************************************************************************/
-#define MAX_FRAME_SIZE  2000
 #define MAX_FRAME_BYTES 2000
 
 struct encoder_sys_t



More information about the vlc-commits mailing list