# HG changeset patch # User michael # Date 1142817536 0 # Node ID 198f8b01424d984df1c60ff1e04c9172a69b5991 # Parent 5fc631919a9861b660bc9b6e44ce61be7ad4c1d2 fixing interlaced direct mode field select values diff -r 5fc631919a98 -r 198f8b01424d h263.c --- a/h263.c Sun Mar 19 11:49:37 2006 +0000 +++ b/h263.c Mon Mar 20 01:18:56 2006 +0000 @@ -582,6 +582,8 @@ s->mv_type = MV_TYPE_FIELD; for(i=0; i<2; i++){ int field_select= s->next_picture.ref_index[0][s->block_index[2*i]]; + s->field_select[0][i]= field_select; + s->field_select[1][i]= i; if(s->top_field_first){ time_pp= s->pp_field_time - field_select + i; time_pb= s->pb_field_time - field_select + i;