From 927155de2b8fae4997b3ce245c7993c9fdff238d Mon Sep 17 00:00:00 2001 From: Marko Viitanen Date: Fri, 18 Oct 2013 16:23:15 +0300 Subject: [PATCH] Set correct block residual bit -> fixes deblocking --- src/encoder.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/encoder.c b/src/encoder.c index a3dd0b0a..185265de 100644 --- a/src/encoder.c +++ b/src/encoder.c @@ -1457,6 +1457,8 @@ void encode_transform_tree(encoder_control *encoder, int32_t x_cu,int32_t y_cu, // if non-zero coeffs if (cur_cu->coeff_y) { + + picture_set_block_residual(encoder->in.cur_pic,x_cu,y_cu,depth,1); i = 0; for (y = 0; y < width; y++) { for (x = 0; x < width; x++) {