mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-04-18 13:06:39 +00:00
sanity check
Originally committed as revision 4224 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d9c780a8b7
commit
4ad8ecd136
@ -2621,6 +2621,7 @@ static int mpeg_decode_slice(Mpeg1Context *s1, int mb_y,
|
|||||||
s->current_picture.motion_val[dir][xy + 1][1] = motion_y;
|
s->current_picture.motion_val[dir][xy + 1][1] = motion_y;
|
||||||
s->current_picture.ref_index [dir][xy ]=
|
s->current_picture.ref_index [dir][xy ]=
|
||||||
s->current_picture.ref_index [dir][xy + 1]= s->field_select[dir][i];
|
s->current_picture.ref_index [dir][xy + 1]= s->field_select[dir][i];
|
||||||
|
assert(s->field_select[dir][i]==0 || s->field_select[dir][i]==1);
|
||||||
}
|
}
|
||||||
xy += wrap;
|
xy += wrap;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user