Commit 0aa20883 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'bc75b64c'

* commit 'bc75b64c':
  vc1pred: remove logically dead code

Conflicts:
	libavcodec/vc1_pred.c

See: fca435feMerged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 1f3d4788 bc75b64c
......@@ -648,7 +648,7 @@ void ff_vc1_pred_mv_intfr(VC1Context *v, int n, int dmv_x, int dmv_y,
av_assert1(c_valid);
px = C[0];
py = C[1];
} /*else px = py = 0;*/
}
} else {
if (field_a && a_valid) {
px = A[0];
......@@ -657,10 +657,7 @@ void ff_vc1_pred_mv_intfr(VC1Context *v, int n, int dmv_x, int dmv_y,
av_assert1(field_b && b_valid);
px = B[0];
py = B[1];
} /*else if (c_valid) {
px = C[0];
py = C[1];
}*/
}
}
} else if (total_valid == 1) {
px = (a_valid) ? A[0] : ((b_valid) ? B[0] : C[0]);
......
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