Browse Source

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
tags/v0.5
Michael Niedermayer 17 years ago
parent
commit
44e9dcf13a
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/h264.c

+ 1
- 0
libavcodec/h264.c 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_field_decoding_flag= s->picture_structure != PICT_FRAME;

if(h0->current_slice == 0){
while(h->frame_num != h->prev_frame_num &&


Loading…
Cancel
Save