vp9: Remove a redundent condition in sub-pixel filter choosing.

Change-Id: I5cbb0f452ec9622437482b3a9496ead1253acfe0
This commit is contained in:
jackychen
2016-05-20 14:34:41 -07:00
parent 4f774ac50e
commit 6f397b8a5b

View File

@@ -1623,12 +1623,9 @@ void vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
free_pred_buffer(this_mode_pred); free_pred_buffer(this_mode_pred);
this_mode_pred = current_pred; this_mode_pred = current_pred;
} }
current_pred = &tmp[get_pred_buffer(tmp, 3)];
if (filter < EIGHTTAP_SHARP) { pd->dst.buf = current_pred->data;
current_pred = &tmp[get_pred_buffer(tmp, 3)]; pd->dst.stride = bw;
pd->dst.buf = current_pred->data;
pd->dst.stride = bw;
}
} }
} }
} }