From 27ffb98d08eb0ac0ed74270a02986c3b7874fbe8 Mon Sep 17 00:00:00 2001 From: Marko Viitanen Date: Fri, 7 Feb 2014 15:30:00 +0200 Subject: [PATCH] Fixed an issue with NxN using uninitialized y_recdata NxN is still disabled by default as it's being fixed. --- src/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.c b/src/search.c index 70bf6a3d..a8fc8c90 100644 --- a/src/search.c +++ b/src/search.c @@ -344,7 +344,7 @@ void search_intra(encoder_control *encoder, uint16_t x_ctb, uint16_t y_ctb, uint for (i = 0; i < 4; ++i) { int x_pos = x + offsets[i].x * width; int y_pos = y + offsets[i].y * width; - intra_build_reference_border(cur_pic, cur_pic->y_recdata, + intra_build_reference_border(cur_pic, cur_pic->y_data, x_pos, y_pos, (int16_t)width * 2 + 8, rec, (int16_t)width * 2 + 8, 0); cur_cu->intra[i].mode = (int8_t)intra_prediction(encoder->in.cur_pic->y_data,