Fixes values returned by FaacEncoder and aacPlusEncoder :: write (bytes instead of samples). Fixes #83

This commit is contained in:
alban.peignier@gmail.com 2013-04-04 04:52:37 +00:00
parent e554efe75b
commit 5dd930ab82
2 changed files with 2 additions and 3 deletions

View File

@ -240,8 +240,7 @@ FaacEncoder :: write ( const void * buf,
delete[] faacBuf; delete[] faacBuf;
// return processedSamples; return samples * sampleSize;
return samples;
} }

View File

@ -233,7 +233,7 @@ aacPlusEncoder :: write ( const void * buf,
delete[] aacplusBuf; delete[] aacplusBuf;
// return processedSamples; // return processedSamples;
return samples; return samples * sampleSize;
} }
/*------------------------------------------------------------------------------ /*------------------------------------------------------------------------------