stream_encoder.c: Fix compiler warning
Remove incorrect assignment to `encoder->protected_->state`.
This commit is contained in:
parent
f0ee453c23
commit
55910e61ac
@ -2159,7 +2159,6 @@ FLAC_API FLAC__bool FLAC__stream_encoder_process(FLAC__StreamEncoder *encoder, c
|
||||
|
||||
for(channel = 0; channel < channels; channel++) {
|
||||
if (buffer[channel] == NULL) {
|
||||
encoder->protected_->state = FLAC__STREAM_ENCODER_WRITE_STATUS_FATAL_ERROR;
|
||||
return false;
|
||||
}
|
||||
memcpy(&encoder->private_->integer_signal[channel][encoder->private_->current_sample_number], &buffer[channel][j], sizeof(buffer[channel][0]) * n);
|
||||
|
Loading…
Reference in New Issue
Block a user