diff h264.c @ 7468:38e9f32f8d43 libavcodec

mb_field_decoding_flag was not initialized Fixes at least: MR7_BT_B.h264 Sharp_MP_PAFF_1r2.jvt Sharp_MP_PAFF_2.jvt
author michael
date Sun, 03 Aug 2008 13:00:39 +0000
parents 5cbf11f56c02
children 856df346b536
line wrap: on
line diff
--- a/h264.c	Sun Aug 03 05:07:48 2008 +0000
+++ b/h264.c	Sun Aug 03 13:00:39 2008 +0000
@@ -3812,6 +3812,7 @@
             h->mb_aff_frame = h->sps.mb_aff;
         }
     }
+    h->mb_field_decoding_flag= s->picture_structure != PICT_FRAME;
 
     if(h0->current_slice == 0){
         while(h->frame_num !=  h->prev_frame_num &&