diff options
author | shahriman AMS <shahriman_ams@yahoo.com> | 2011-11-08 12:47:32 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-11-09 13:53:24 +0400 |
commit | 4bceeaf0c1a2411f9fffd05f44e26c54abd26835 (patch) | |
tree | 66d31ac61f63bed5c8e449d9960b0c48ed48b985 /libavcodec/vc1dec.c | |
parent | 4344ce08f1d0b3ca90e60362ae4726e524dc85ba (diff) |
vc1dec: use correct hybrid prediction threshold.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/vc1dec.c')
-rw-r--r-- | libavcodec/vc1dec.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index f473b5d016..8cd6980779 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -1660,10 +1660,7 @@ static inline void vc1_pred_mv(VC1Context *v, int n, int dmv_x, int dmv_y, if (!v->field_mode || s->pict_type != AV_PICTURE_TYPE_B) { /* Calculate hybrid prediction as specified in 8.3.5.3.5 (also 10.3.5.4.3.5) */ - if (v->field_mode && !s->quarter_sample) - hybridmv_thresh = 16; - else - hybridmv_thresh = 32; + hybridmv_thresh = 32; if (a_valid && c_valid) { if (is_intra[xy - wrap]) sum = FFABS(px) + FFABS(py); |