diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-05-12 10:15:19 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-05-12 10:15:19 +0000 |
commit | 4ad8ecd136fc39eacc14b707e6db8593173132fb (patch) | |
tree | 26526f65104a34fcc9428b71068db17174b24f86 /libavcodec/mpeg12.c | |
parent | d9c780a8b78b7ceb0bf652961d15883f69018ece (diff) | |
download | ffmpeg-4ad8ecd136fc39eacc14b707e6db8593173132fb.tar.gz |
sanity check
Originally committed as revision 4224 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r-- | libavcodec/mpeg12.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index ba77a915c9..f84a75afcd 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -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; } |