Skip to content
Snippets Groups Projects
Commit 2bf4e44e authored by Koen Vos's avatar Koen Vos Committed by Jean-Marc Valin
Browse files

Moving ec_enc_done() outside of the API call.

parent dae5c333
No related branches found
No related tags found
No related merge requests found
......@@ -211,7 +211,7 @@ TOC(ENCODE_PARAMS)
if( *pnBytesOut >= nBytes ) {
//SKP_int bits_in_stream, mask;
//bits_in_stream = ec_enc_tell( psRangeEnc, 0 );
ec_enc_done( psRangeEnc );
//ec_enc_done( psRangeEnc );
#if 0
/* Fill up any remaining bits in the last byte with 1s */
......
......@@ -265,6 +265,10 @@ int main( int argc, char* argv[] )
}
tottime += GetHighResolutionTime() - starttime;
/* Finish up the range coder */
ec_enc_done( &range_enc_celt_state );
#ifdef SKP_MACRO_COUNT
Ops = SKP_SaveResetCount();
if( Ops > maxOps ){ maxOps = Ops; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment