ref: 612b88b17b7b58a97f20ccffd25b948177bb80e9
parent: aa5ea6ee520f846610dd3a70942473df021bd361
author: Jean-Marc Valin <[email protected]>
date: Wed Sep 7 10:23:12 EDT 2011
Fixes a warning about assignment in an if()
--- a/silk/silk_enc_API.c
+++ b/silk/silk_enc_API.c
@@ -171,7 +171,7 @@
}
/* 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 );
}
}