Fixes some minor issues found by scan build

This commit is contained in:
Jean-Marc Valin 2013-11-09 18:28:40 -05:00
parent a599ccd217
commit ca6fac041b
6 changed files with 9 additions and 12 deletions

View file

@ -305,7 +305,7 @@ opus_int silk_Decode( /* O Returns error co
/* Set up pointers to temp buffers */
ALLOC( samplesOut2_tmp,
decControl->nChannelsAPI == 2 ? *nSamplesOut : 0, opus_int16 );
decControl->nChannelsAPI == 2 ? *nSamplesOut : ALLOC_NONE, opus_int16 );
if( decControl->nChannelsAPI == 2 ) {
resample_out_ptr = samplesOut2_tmp;
} else {