diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2011-09-07 14:23:12 -0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2011-09-07 14:25:05 -0400 |
commit | 612b88b17b7b58a97f20ccffd25b948177bb80e9 (patch) | |
tree | b9abe1e93df2d74c8337d15b2e4953be595c9eea | |
parent | aa5ea6ee520f846610dd3a70942473df021bd361 (diff) | |
download | opus-612b88b17b7b58a97f20ccffd25b948177bb80e9.tar.gz |
Fixes a warning about assignment in an if()
-rw-r--r-- | silk/silk_enc_API.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/silk/silk_enc_API.c b/silk/silk_enc_API.c index 86243822..c447b264 100644 --- a/silk/silk_enc_API.c +++ b/silk/silk_enc_API.c @@ -171,7 +171,7 @@ opus_int silk_Encode( } /* Reset Encoder */ for( n = 0; n < encControl->nChannelsInternal; n++ ) { - if( ret = silk_init_encoder( &psEnc->state_Fxx[ n ] ) ) { + if( (ret = silk_init_encoder( &psEnc->state_Fxx[ n ] ) ) != 0 ) { SKP_assert( 0 ); } } |