summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-24 15:01:08 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-24 15:05:25 +0200
commitc5669f3c5996836f13b47ede4cf430035041cd7c (patch)
tree25dc9061aecbceb877a07fe7f336449228b2d607 /libavcodec
parent236b0c408426a26d9d757219f1435848babcbb9c (diff)
vc1dec: fix current ptr selection in vc1_mc_4mv_chroma()
No sample tried shows a difference Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vc1dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index cec36c6c6d..d79d484c7e 100644
--- a/libavcodec/vc1dec.c
+++ b/libavcodec/vc1dec.c
@@ -849,7 +849,7 @@ static void vc1_mc_4mv_chroma(VC1Context *v, int dir)
}
if (!dir) {
- if (v->field_mode && (v->cur_field_type != chroma_ref_type) && v->cur_field_type) {
+ if (v->field_mode && (v->cur_field_type != chroma_ref_type) && v->second_field) {
srcU = s->current_picture.f.data[1];
srcV = s->current_picture.f.data[2];
} else {