Commit bc75b64c authored by Vittorio Giovara's avatar Vittorio Giovara

vc1pred: remove logically dead code

CC: libav-stable@libav.org
Bug-Id: CID 1245699 / CID 1245700
parent 960aff37
...@@ -648,7 +648,7 @@ void ff_vc1_pred_mv_intfr(VC1Context *v, int n, int dmv_x, int dmv_y, ...@@ -648,7 +648,7 @@ void ff_vc1_pred_mv_intfr(VC1Context *v, int n, int dmv_x, int dmv_y,
} else if (c_valid) { } else if (c_valid) {
px = C[0]; px = C[0];
py = C[1]; py = C[1];
} else px = py = 0; }
} else { } else {
if (field_a && a_valid) { if (field_a && a_valid) {
px = A[0]; px = A[0];
...@@ -656,11 +656,7 @@ void ff_vc1_pred_mv_intfr(VC1Context *v, int n, int dmv_x, int dmv_y, ...@@ -656,11 +656,7 @@ void ff_vc1_pred_mv_intfr(VC1Context *v, int n, int dmv_x, int dmv_y,
} else if (field_b && b_valid) { } else if (field_b && b_valid) {
px = B[0]; px = B[0];
py = B[1]; py = B[1];
} else if (c_valid) { }
px = C[0];
py = C[1];
} else
px = py = 0;
} }
} else if (total_valid == 1) { } else if (total_valid == 1) {
px = (a_valid) ? A[0] : ((b_valid) ? B[0] : C[0]); 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