changeset 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 7df2cf766685
children 856df346b536
files h264.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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 &&