ffmpeg | branch: master | Rostislav Pehlivanov <atomnu...@gmail.com> | Wed Mar 2 12:50:54 2016 +0000| [f21cf2b38365caaa8a130a32521c2648600c3f50] | committer: 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: Rostislav Pehlivanov <atomnu...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f21cf2b38365caaa8a130a32521c2648600c3f50 --- libavcodec/vc2enc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/vc2enc.c b/libavcodec/vc2enc.c index 3311d97..34a4f95 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); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog