vc1dec: dont apply the loop filter on fields
Fixes read of uninitialized memory Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
+1
-1
@@ -4654,7 +4654,7 @@ static void vc1_decode_p_blocks(VC1Context *v)
|
||||
if (s->mb_y != s->start_mb_y) ff_draw_horiz_band(s, (s->mb_y - 1) * 16, 16);
|
||||
s->first_slice_line = 0;
|
||||
}
|
||||
if (apply_loop_filter) {
|
||||
if (apply_loop_filter && v->fcm == PROGRESSIVE) {
|
||||
s->mb_x = 0;
|
||||
ff_init_block_index(s);
|
||||
for (; s->mb_x < s->mb_width; s->mb_x++) {
|
||||
|
||||
Reference in New Issue
Block a user