diff h263.c @ 1659:3075fc11a974 libavcodec

AVFrame.interlaced_frame fixes
author michael
date Fri, 05 Dec 2003 01:03:12 +0000
parents 34b0e799aeb6
children 4c9fd29f1606
line wrap: on
line diff
--- a/h263.c	Fri Dec 05 00:19:46 2003 +0000
+++ b/h263.c	Fri Dec 05 01:03:12 2003 +0000
@@ -2282,7 +2282,7 @@
     }
     put_bits(&s->pb, 3, 0);	/* intra dc VLC threshold */
     if(!s->progressive_sequence){
-         put_bits(&s->pb, 1, s->top_field_first);
+         put_bits(&s->pb, 1, s->current_picture_ptr->top_field_first);
          put_bits(&s->pb, 1, s->alternate_scan);
     }
     //FIXME sprite stuff
@@ -5252,7 +5252,8 @@
             }
         }
         
-        s->progressive_sequence= get_bits1(gb)^1;
+        s->progressive_sequence= 
+        s->progressive_frame= get_bits1(gb)^1;
         if(!get_bits1(gb) && (s->avctx->debug & FF_DEBUG_PICT_INFO)) 
             av_log(s->avctx, AV_LOG_INFO, "MPEG4 OBMC not supported (very likely buggy encoder)\n");   /* OBMC Disable */
         if (vo_ver_id == 1) {