summaryrefslogtreecommitdiff
path: root/libavcodec/vc2enc.c
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2016-03-02 12:50:54 +0000
committerRostislav Pehlivanov <atomnuker@gmail.com>2016-03-04 22:41:15 +0000
commitf21cf2b38365caaa8a130a32521c2648600c3f50 (patch)
treee3c64d5ae3e2513af5c93d8492362f47d8124db0 /libavcodec/vc2enc.c
parentb88be742fac7a77a8095e8155ba8790db4b77568 (diff)
downloadffmpeg-f21cf2b38365caaa8a130a32521c2648600c3f50.tar.gz
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: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/vc2enc.c')
-rw-r--r--libavcodec/vc2enc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/vc2enc.c b/libavcodec/vc2enc.c
index 3311d97a4f..34a4f9539d 100644
--- a/libavcodec/vc2enc.c
+++ b/libavcodec/vc2enc.c
@@ -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);