[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec mpeg12.c,1.236,1.237

Michael Niedermayer CVS michael
Thu May 12 12:15:21 CEST 2005


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv3128

Modified Files:
	mpeg12.c 
Log Message:
sanity check


Index: mpeg12.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/mpeg12.c,v
retrieving revision 1.236
retrieving revision 1.237
diff -u -d -r1.236 -r1.237
--- mpeg12.c	8 May 2005 20:15:42 -0000	1.236
+++ mpeg12.c	12 May 2005 10:15:19 -0000	1.237
@@ -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;
             }





More information about the ffmpeg-cvslog mailing list