mb_field_decoding_flag was not initialized

Fixes at least:
MR7_BT_B.h264
Sharp_MP_PAFF_1r2.jvt
Sharp_MP_PAFF_2.jvt

Originally committed as revision 14518 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-08-03 13:00:39 +00:00
parent 19759c9a36
commit 44e9dcf13a

View File

@ -3812,6 +3812,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0){
h->mb_aff_frame = h->sps.mb_aff; h->mb_aff_frame = h->sps.mb_aff;
} }
} }
h->mb_field_decoding_flag= s->picture_structure != PICT_FRAME;
if(h0->current_slice == 0){ if(h0->current_slice == 0){
while(h->frame_num != h->prev_frame_num && while(h->frame_num != h->prev_frame_num &&