You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/vc1: fix B predictor validity for 4-MV MBs
The B predictor for 4-MV MBs in interlace field pictures is not used for blocks 0 and 2 when the picture is 1 MB wide. Signed-off-by: Jerome Borsboom <jerome.borsboom@carpalis.nl>
This commit is contained in:
committed by
Carl Eugen Hoyos
parent
d52a1be4e3
commit
fc6e53b0b6
@@ -289,6 +289,8 @@ void ff_vc1_pred_mv(VC1Context *v, int n, int dmv_x, int dmv_y,
|
|||||||
case 3:
|
case 3:
|
||||||
off = -1;
|
off = -1;
|
||||||
}
|
}
|
||||||
|
if (v->field_mode && s->mb_width == 1)
|
||||||
|
b_valid = b_valid && c_valid;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (v->field_mode) {
|
if (v->field_mode) {
|
||||||
|
Reference in New Issue
Block a user