aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/opus_encoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opus_encoder.h b/src/opus_encoder.h
index 1b0271e4..d6b21369 100644
--- a/src/opus_encoder.h
+++ b/src/opus_encoder.h
@@ -51,7 +51,7 @@ struct OpusEncoder {
/* Sampling rate (at the API level) */
int Fs;
- short delay_buffer[ENCODER_DELAY_COMPENSATION];
+ short delay_buffer[ENCODER_DELAY_COMPENSATION*2];
};