Fixed intra chroma mode selection

This commit is contained in:
Marko Viitanen 2014-05-15 09:50:05 +03:00
parent f0e990905e
commit b08047cce9

View file

@ -719,7 +719,7 @@ static int search_cu_intra(encoder_state * const encoder_state,
cur_cu->intra[pu_index].cost = cost;
cur_cu->intra[pu_index].bitcost = bitcost;
cur_cu->intra[0].mode = cur_cu->intra[pu_index].mode;
cur_cu->intra[0].mode_chroma = cur_cu->intra[0].mode;
}
return cur_cu->intra[PU_INDEX(x_px >> 2, y_px >> 2)].cost;