[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec motion_est.c,1.121,1.122
Michael Niedermayer CVS
michael
Fri Mar 10 23:00:39 CET 2006
Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv23687
Modified Files:
motion_est.c
Log Message:
asserts to check if assumed conditions really are true
Index: motion_est.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/motion_est.c,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -d -r1.121 -r1.122
--- motion_est.c 8 Mar 2006 11:43:09 -0000 1.121
+++ motion_est.c 10 Mar 2006 22:00:36 -0000 1.122
@@ -901,6 +901,8 @@
int16_t (*mv_table)[2]= mv_tables[block][field_select];
if(user_field_select){
+ assert(field_select==0 || field_select==1);
+ assert(field_select_tables[block][xy]==0 || field_select_tables[block][xy]==1);
if(field_select_tables[block][xy] != field_select)
continue;
}
More information about the ffmpeg-cvslog
mailing list