Fixing a high bit-rate bug in SILK -- now scales well above 64 kb/s
authorJean-Marc Valin <jean-marc.valin@octasic.com>
Mon, 5 Jul 2010 22:34:33 +0000 (18:34 -0400)
committerJean-Marc Valin <jean-marc.valin@octasic.com>
Mon, 5 Jul 2010 22:34:33 +0000 (18:34 -0400)
silk
src/hybrid_encoder.c

diff --git a/silk b/silk
index 2bf4e44..6f9a028 160000 (submodule)
--- a/silk
+++ b/silk
@@ -1 +1 @@
-Subproject commit 2bf4e44e1b5e35c68aec3cd23d87183d1ca6c686
+Subproject commit 6f9a028cad836b8f41f479d244be849fc16e48b8
index 21d1573..900204a 100644 (file)
@@ -89,8 +89,6 @@ int hybrid_encode(HybridEncoder *st, const short *pcm, int frame_size,
        ec_enc_init(&enc,&buf);
 
     st->encControl.bitRate               = (bytes_per_packet*50*8+4000)/2;
-    if (st->encControl.bitRate>30000)
-       st->encControl.bitRate = 30000;
 
        /* Call SILK encoder for the low band */
     nBytes = bytes_per_packet;