mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
fixing first_mb_in_slice if frame_mbs_only_flag==0 && mb_aff==0
Originally committed as revision 4402 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
6b53b87e20
commit
e679cd1ab0
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user