[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec h263.c,1.303,1.304

Michael Niedermayer CVS michael
Mon Mar 20 02:18:59 CET 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv25942

Modified Files:
	h263.c 
Log Message:
fixing interlaced direct mode field select values


Index: h263.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/h263.c,v
retrieving revision 1.303
retrieving revision 1.304
diff -u -d -r1.303 -r1.304
--- h263.c	12 Mar 2006 19:55:52 -0000	1.303
+++ h263.c	20 Mar 2006 01:18:56 -0000	1.304
@@ -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;





More information about the ffmpeg-cvslog mailing list