Commit ce27c9eb authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '7cc3c4e1'

* commit '7cc3c4e1':
  vc1dec: Invoke edge emulation regardless of MV precision for 1-MV chroma
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents b6c3487e 7cc3c4e1
......@@ -431,7 +431,7 @@ static void vc1_mc_1mv(VC1Context *v, int dir)
if (v->rangeredfrm || (v->mv_mode == MV_PMODE_INTENSITY_COMP)
|| s->h_edge_pos < 22 || v_edge_pos < 22
|| (unsigned)(src_x - s->mspel) > s->h_edge_pos - (mx&3) - 16 - s->mspel * 3
|| (unsigned)(src_y - s->mspel) > v_edge_pos - (my&3) - 16 - s->mspel * 3) {
|| (unsigned)(src_y - 1) > v_edge_pos - (my&3) - 16 - 3) {
uint8_t *uvbuf = s->edge_emu_buffer + 19 * s->linesize;
srcY -= s->mspel * (1 + s->linesize);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment