mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
vc1dec: fix block_off
Fixes corruption of motion_val Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b999774f0b
commit
131fac1c12
@ -5672,7 +5672,7 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data,
|
||||
continue;
|
||||
}
|
||||
v->second_field = 1;
|
||||
v->blocks_off = s->mb_width * s->mb_height << 1;
|
||||
v->blocks_off = s->b8_stride * (s->mb_height&~1);
|
||||
v->mb_off = s->mb_stride * s->mb_height >> 1;
|
||||
} else {
|
||||
v->second_field = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user