Commit d2980c4e authored by michael's avatar michael

sanity check


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4224 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f5cc6f64
...@@ -2621,6 +2621,7 @@ static int mpeg_decode_slice(Mpeg1Context *s1, int mb_y, ...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment