aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMashiat Sarker Shakkhar <mashiat.sarker@gmail.com>2012-10-09 16:38:17 -0400
committerDiego Biurrun <diego@biurrun.de>2012-10-10 16:28:31 +0200
commit7fb35ee931c8ab13c76173085fc7ba33ea8d82c4 (patch)
tree016299f7522426b1ceb45f729f90fdd8ccd3c960 /libavcodec
parent706a559b30087f18ceb533be2c528ac2ff9d96ca (diff)
downloadffmpeg-7fb35ee931c8ab13c76173085fc7ba33ea8d82c4.tar.gz
vc1dec: Use correct spelling of "opposite"
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vc1dec.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index d4108757c9..b8237d7f8d 100644
--- a/libavcodec/vc1dec.c
+++ b/libavcodec/vc1dec.c
@@ -1349,7 +1349,7 @@ static inline void vc1_pred_mv(VC1Context *v, int n, int dmv_x, int dmv_y,
int px, py;
int sum;
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_predB[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 (num_samefield <= num_oppfield)
- opposit = 1 - pred_flag;
+ opposite = 1 - pred_flag;
else
- opposit = pred_flag;
+ opposite = pred_flag;
} else
- opposit = 0;
- if (opposit) {
+ opposite = 0;
+ if (opposite) {
if (a_valid && !a_f) {
field_predA[0] = scaleforopp(v, field_predA[0], 0, dir);
field_predA[1] = scaleforopp(v, field_predA[1], 1, dir);