Commit f21cf2b3 authored by Rostislav Pehlivanov's avatar Rostislav Pehlivanov

vc2enc: remove useless alignment on slice encoding

This was a leftover from before the slices were encoded in parallel.
Since the put_bits context is initialized per slice aligning it
aferwards is pointless.
Signed-off-by: 's avatarRostislav Pehlivanov <atomnuker@gmail.com>
parent b88be742
......@@ -749,7 +749,6 @@ static int encode_hq_slice(AVCodecContext *avctx, void *arg)
uint8_t quants[MAX_DWT_LEVELS][4];
int p, level, orientation;
avpriv_align_put_bits(pb);
skip_put_bytes(pb, s->prefix_bytes);
put_bits(pb, 8, quant_idx);
......
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