Commit 55910e61 authored by Erik de Castro Lopo's avatar Erik de Castro Lopo
Browse files

stream_encoder.c: Fix compiler warning

Remove incorrect assignment to `encoder->protected_->state`.
parent f0ee453c
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment