diff options
author | Mashiat Sarker Shakkhar <[email protected]> | 2012-10-09 19:38:19 +0000 |
---|---|---|
committer | Derek Buitenhuis <[email protected]> | 2012-10-10 14:56:02 -0400 |
commit | 35a35d49d23c2b799e771f8947c0bc6cc6a45fe8 (patch) | |
tree | 42e202606ce0d3bb3c8da469a0e0b05e8aacc7ac /libavcodec/vc1dec.c | |
parent | eb657ecefdeb8b2ed9bfb55d3c2c9e0f568486bf (diff) |
Double motion vector range for HPEL interlaced picture in proper place
The existing code is not in the right place and it should cover both
interlaced frame and field pictures.
Signed-off-by: Derek Buitenhuis <[email protected]>
Diffstat (limited to 'libavcodec/vc1dec.c')
-rw-r--r-- | libavcodec/vc1dec.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index 40164cc9db..6bfba682d1 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -1573,10 +1573,6 @@ static inline void vc1_pred_mv(VC1Context *v, int n, int dmv_x, int dmv_y, } } - if (v->field_mode && !s->quarter_sample) { - r_x <<= 1; - r_y <<= 1; - } if (v->field_mode && v->numref) r_y >>= 1; if (v->field_mode && v->cur_field_type && v->ref_field_type[dir] == 0) |