Commit d10a8752 authored by Tristan Matthews's avatar Tristan Matthews

encode: fix read of uninitialized target_bitrate value

Regression from commit 5eb3f15c "Add missing file rate.c"
parent 72783687
......@@ -495,6 +495,7 @@ static int od_enc_init(od_enc_ctx *enc, const daala_info *info) {
return OD_EFAULT;
OD_CLEAR(&enc->rc, 1);
od_enc_rc_init(enc, -1);
return 0;
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