1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

vc1dec: Use correct spelling of "opposite"

Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:
Mashiat Sarker Shakkhar
2012-10-09 16:38:17 -04:00
committed by Diego Biurrun
parent 706a559b30
commit 7fb35ee931

View File

@@ -1349,7 +1349,7 @@ static inline void vc1_pred_mv(VC1Context *v, int n, int dmv_x, int dmv_y,
int px, py; int px, py;
int sum; int sum;
int mixedmv_pic, num_samefield = 0, num_oppfield = 0; int mixedmv_pic, num_samefield = 0, num_oppfield = 0;
int opposit, a_f, b_f, c_f; int opposite, a_f, b_f, c_f;
int16_t field_predA[2]; int16_t field_predA[2];
int16_t field_predB[2]; int16_t field_predB[2];
int16_t field_predC[2]; int16_t field_predC[2];
@@ -1458,12 +1458,12 @@ static inline void vc1_pred_mv(VC1Context *v, int n, int dmv_x, int dmv_y,
if (v->field_mode) { if (v->field_mode) {
if (num_samefield <= num_oppfield) if (num_samefield <= num_oppfield)
opposit = 1 - pred_flag; opposite = 1 - pred_flag;
else else
opposit = pred_flag; opposite = pred_flag;
} else } else
opposit = 0; opposite = 0;
if (opposit) { if (opposite) {
if (a_valid && !a_f) { if (a_valid && !a_f) {
field_predA[0] = scaleforopp(v, field_predA[0], 0, dir); field_predA[0] = scaleforopp(v, field_predA[0], 0, dir);
field_predA[1] = scaleforopp(v, field_predA[1], 1, dir); field_predA[1] = scaleforopp(v, field_predA[1], 1, dir);