diff --git a/crates/ec-av1/src/decode.rs b/crates/ec-av1/src/decode.rs index 1883b1ac..35731748 100644 --- a/crates/ec-av1/src/decode.rs +++ b/crates/ec-av1/src/decode.rs @@ -3532,7 +3532,7 @@ fn decode_block_rect64( bw, bh, 8, - i32::from(base_q_idx), + CURRENT_Q_IDX.with(|c| c.get()), plane_q_delta(0).0, plane_q_delta(0).1, luma_tx_type, @@ -3593,7 +3593,7 @@ fn decode_block_rect64( chroma_w, chroma_h, 8, - i32::from(base_q_idx), + CURRENT_Q_IDX.with(|c| c.get()), plane_q_delta(1).0, plane_q_delta(1).1, u_tx_type, @@ -3636,7 +3636,7 @@ fn decode_block_rect64( chroma_w, chroma_h, 8, - i32::from(base_q_idx), + CURRENT_Q_IDX.with(|c| c.get()), plane_q_delta(2).0, plane_q_delta(2).1, v_tx_type,