Commit 851e7553 authored by michael's avatar michael

fixing first_mb_in_slice if frame_mbs_only_flag==0 && mb_aff==0


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4402 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7464ea04
......@@ -4234,7 +4234,7 @@ static int decode_slice_header(H264Context *h){
s->picture_structure= PICT_TOP_FIELD + get_bits1(&s->gb); //bottom_field_flag
} else {
s->picture_structure= PICT_FRAME;
first_mb_in_slice <<= 1;
first_mb_in_slice <<= h->sps.mb_aff;
h->mb_aff_frame = h->sps.mb_aff;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment