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;