Commit 4ad8ecd1 authored by Michael Niedermayer's avatar Michael Niedermayer

sanity check

Originally committed as revision 4224 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent d9c780a8
......@@ -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.ref_index [dir][xy ]=
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;
}
......
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