summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/g729dec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/g729dec.c b/libavcodec/g729dec.c
index 2f70115814..3a8f65a3c2 100644
--- a/libavcodec/g729dec.c
+++ b/libavcodec/g729dec.c
@@ -371,6 +371,8 @@ static av_cold int decoder_init(AVCodecContext * avctx)
ctx->exc = &ctx->exc_base[PITCH_DELAY_MAX+INTERPOL_LEN];
+ ctx->pitch_delay_int_prev = PITCH_DELAY_MIN;
+
/* random seed initialization */
ctx->rand_value = 21845;