Commit 61cf37da authored by michael's avatar michael

asserts to check if assumed conditions really are true


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5143 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f649c5ad
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment