[FFmpeg-cvslog] vc1dec: make sure next_use_ic is set correctly

Michael Niedermayer git at videolan.org
Fri Apr 26 15:52:26 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Apr 26 15:40:52 2013 +0200| [d78329700df228e1e951400a98417be18bad25b0] | committer: Michael Niedermayer

vc1dec: make sure next_use_ic is set correctly

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d78329700df228e1e951400a98417be18bad25b0
---

 libavcodec/vc1.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index 2d4411f..0eb5e2f 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);



More information about the ffmpeg-cvslog mailing list