ref: c7ab61b3c6a6c2a141f5a0266cd40d119aa18c66
parent: e4de8a9c769847110e94a030c5e7d40831da71f0
author: Jean-Marc Valin <[email protected]>
date: Wed Sep 28 12:24:01 EDT 2011
Fixes a bug introduced while fixing the original 60-ms stereo bug
--- a/silk/enc_API.c
+++ b/silk/enc_API.c
@@ -359,8 +359,8 @@
if( ( ret = silk_encode_frame_Fxx( &psEnc->state_Fxx[ n ], nBytesOut, psRangeEnc ) ) != 0 ) {
silk_assert( 0 );
}
+ psEnc->state_Fxx[ n ].sCmn.nFramesEncoded++;
}
- psEnc->state_Fxx[ n ].sCmn.nFramesEncoded++;
psEnc->state_Fxx[ n ].sCmn.controlled_since_last_payload = 0;
psEnc->state_Fxx[ n ].sCmn.inputBufIx = 0;
}