(void)encoder; /* silence compiler warning about unused parameter */
- /*@@@ reopen callback here? */
+ /*@@@ reopen callback here? The docs currently require user to open files in update mode from the start */
/* All this is based on intimate knowledge of the stream header
* layout, but a change to the header format that would break this
if(size <= decoder->private_->output_capacity && channels <= decoder->private_->output_channels)
return true;
- /* @@@@ should change to use realloc() */
+ /* simply using realloc() is not practical because the number of channels may change mid-stream */
for(i = 0; i < FLAC__MAX_CHANNELS; i++) {
if(0 != decoder->private_->output[i]) {