diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-04-26 15:40:52 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-04-26 15:50:32 +0200 |
commit | d78329700df228e1e951400a98417be18bad25b0 (patch) | |
tree | b08ad936e2115301678ec7c0f5c0a75a6680d7ec /libavcodec | |
parent | ee4c01bef65dc714c55178fa240951407c36ec1a (diff) | |
download | ffmpeg-d78329700df228e1e951400a98417be18bad25b0.tar.gz |
vc1dec: make sure next_use_ic is set correctly
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/vc1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c index 2d4411f5bf..0eb5e2f642 100644 --- a/libavcodec/vc1.c +++ b/libavcodec/vc1.c @@ -1110,7 +1110,7 @@ int ff_vc1_parse_frame_header_adv(VC1Context *v, GetBitContext* gb) INIT_LUT(v->lumscale2, v->lumshift2, v->curr_luty[v->cur_field_type^1], v->curr_lutuv[v->cur_field_type^1], 0); INIT_LUT(v->lumscale , v->lumshift , v->last_luty[v->cur_field_type ], v->last_lutuv[v->cur_field_type ], 1); } - v->curr_use_ic = 1; + v->next_use_ic = v->curr_use_ic = 1; } else { INIT_LUT(v->lumscale , v->lumshift , v->last_luty[0], v->last_lutuv[0], 1); INIT_LUT(v->lumscale2, v->lumshift2, v->last_luty[1], v->last_lutuv[1], 1); |