changeset 3205:198f8b01424d libavcodec

fixing interlaced direct mode field select values
author michael
date Mon, 20 Mar 2006 01:18:56 +0000
parents 5fc631919a98
children c1add9fe5c65
files h263.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;