projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3aeefb9
)
asserts to check if assumed conditions really are true
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 10 Mar 2006 22:00:36 +0000
(22:00 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 10 Mar 2006 22:00:36 +0000
(22:00 +0000)
Originally committed as revision 5143 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/motion_est.c
patch
|
blob
|
history
diff --git
a/libavcodec/motion_est.c
b/libavcodec/motion_est.c
index
0967b7b
..
82b5f76
100644
(file)
--- a/
libavcodec/motion_est.c
+++ b/
libavcodec/motion_est.c
@@
-901,6
+901,8
@@
static int interlaced_search(MpegEncContext *s, int ref_index,
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;
}