Fix a bug introduced in a previous patch on highbd

Change-Id: Ice692334f75157446a44a6e81503cada977934f4
This commit is contained in:
Deb Mukherjee 2014-09-26 15:43:55 -07:00
parent 55a79f6bf7
commit d4713f1d50

View File

@ -277,7 +277,6 @@ static int optimize_b(MACROBLOCK *mb, int plane, int block,
base_bits = dct_value_cost[x];
if (shortcut) {
dx -= (dequant_ptr[rc != 0] + sz) ^ sz;
#if CONFIG_VP9_HIGHBITDEPTH
if (xd->cur_buf->flags & YV12_FLAG_HIGHBITDEPTH) {
dx -= ((dequant_ptr[rc != 0] >> (xd->bd - 8)) + sz) ^ sz;