summaryrefslogtreecommitdiff
path: root/silk/enc_API.c
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2016-06-21 12:38:25 -0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2016-07-19 16:11:50 -0400
commit2b011b64d8ca5f3f7b26806aeb77939ff7703c06 (patch)
tree35f394b019f3afd3b32e9ba1b9f21399ce1fc7f2 /silk/enc_API.c
parent099fc05ebf443e2bcc8c5ab9c627c86ec1e743e0 (diff)
downloadopus-2b011b64d8ca5f3f7b26806aeb77939ff7703c06.tar.gz
Moving FEC decision to the Opus encoder level (from SILK level)
Diffstat (limited to 'silk/enc_API.c')
-rw-r--r--silk/enc_API.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/silk/enc_API.c b/silk/enc_API.c
index 8079b7dd..ba3db060 100644
--- a/silk/enc_API.c
+++ b/silk/enc_API.c
@@ -237,7 +237,7 @@ opus_int silk_Encode( /* O Returns error co
for( n = 0; n < encControl->nChannelsInternal; n++ ) {
/* Force the side channel to the same rate as the mid */
opus_int force_fs_kHz = (n==1) ? psEnc->state_Fxx[0].sCmn.fs_kHz : 0;
- if( ( ret = silk_control_encoder( &psEnc->state_Fxx[ n ], encControl, TargetRate_bps, psEnc->allowBandwidthSwitch, n, force_fs_kHz ) ) != 0 ) {
+ if( ( ret = silk_control_encoder( &psEnc->state_Fxx[ n ], encControl, psEnc->allowBandwidthSwitch, n, force_fs_kHz ) ) != 0 ) {
silk_assert( 0 );
RESTORE_STACK;
return ret;