Fixed leaf aligning

This commit is contained in:
Marko Viitanen 2015-03-26 13:54:17 +02:00
parent bbeb85f9ee
commit 1dc53be8fc

View file

@ -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);
}
}
}