diff --git a/src/encoder_state-bitstream.c b/src/encoder_state-bitstream.c index 9ff59f03..2d1c8447 100644 --- a/src/encoder_state-bitstream.c +++ b/src/encoder_state-bitstream.c @@ -851,7 +851,7 @@ void encoder_state_write_bitstream_leaf(encoder_state_t * const state) { cabac_flush(&state->cabac); } else { cabac_flush(&state->cabac); - bitstream_align(&state->stream); + bitstream_align_zero(&state->stream); } } }