Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
7467:7df2cf766685 | 7468:38e9f32f8d43 |
---|---|
3810 } else { | 3810 } else { |
3811 s->picture_structure= PICT_FRAME; | 3811 s->picture_structure= PICT_FRAME; |
3812 h->mb_aff_frame = h->sps.mb_aff; | 3812 h->mb_aff_frame = h->sps.mb_aff; |
3813 } | 3813 } |
3814 } | 3814 } |
3815 h->mb_field_decoding_flag= s->picture_structure != PICT_FRAME; | |
3815 | 3816 |
3816 if(h0->current_slice == 0){ | 3817 if(h0->current_slice == 0){ |
3817 while(h->frame_num != h->prev_frame_num && | 3818 while(h->frame_num != h->prev_frame_num && |
3818 h->frame_num != (h->prev_frame_num+1)%(1<<h->sps.log2_max_frame_num)){ | 3819 h->frame_num != (h->prev_frame_num+1)%(1<<h->sps.log2_max_frame_num)){ |
3819 av_log(NULL, AV_LOG_DEBUG, "Frame num gap %d %d\n", h->frame_num, h->prev_frame_num); | 3820 av_log(NULL, AV_LOG_DEBUG, "Frame num gap %d %d\n", h->frame_num, h->prev_frame_num); |