mirror of
https://github.com/xiph/opus.git
synced 2025-05-31 15:47:43 +00:00
Fixes some minor issues found by scan build
This commit is contained in:
parent
a599ccd217
commit
ca6fac041b
6 changed files with 9 additions and 12 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue