From 1dc53be8fc5e2f1a07a93d53f21852183e44eaa1 Mon Sep 17 00:00:00 2001 From: Marko Viitanen Date: Thu, 26 Mar 2015 13:54:17 +0200 Subject: [PATCH] Fixed leaf aligning --- src/encoder_state-bitstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } }