Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaks <maksqwe1@ukr.net>2014-02-07 02:32:47 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2014-02-07 02:32:47 +0400
commite40105f4db6a45800a24606483c8cdaf2e819a80 (patch)
treed8e095d127131b22735ad01969e97214b1cc29d7
parente3187444692195957eb66989622c7b1ad8448b06 (diff)
Fixes internal check_control_input() error checking.
The code was wrong, but did not have any impact on user-visible behaviour because all it did was change an internal-only error code. Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
-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 43739efc..f1993ada 100644
--- a/silk/enc_API.c
+++ b/silk/enc_API.c
@@ -165,7 +165,7 @@ opus_int silk_Encode( /* O Returns error co
psEnc->state_Fxx[ 0 ].sCmn.nFramesEncoded = psEnc->state_Fxx[ 1 ].sCmn.nFramesEncoded = 0;
/* Check values in encoder control structure */
- if( ( ret = check_control_input( encControl ) != 0 ) ) {
+ if( ( ret = check_control_input( encControl ) ) != 0 ) {
silk_assert( 0 );
RESTORE_STACK;
return ret;