diff --git a/silk/enc_API.c b/silk/enc_API.c
index 43739efc24e644984ec3439ac86c8bb923806add..f1993ada88c5dde9aceabff32b73e64507190970 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;