Mercurial > libavcodec.hg
changeset 2670:8e9afac9896b libavcodec
sanity check
author | michael |
---|---|
date | Thu, 12 May 2005 10:15:19 +0000 |
parents | a4e3a37ed57b |
children | 5619d89d243a |
files | mpeg12.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mpeg12.c Thu May 12 08:44:17 2005 +0000 +++ b/mpeg12.c Thu May 12 10:15:19 2005 +0000 @@ -2621,6 +2621,7 @@ 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; }