Mercurial > libavcodec.hg
changeset 2773:1d1b328d07ce libavcodec
fixing first_mb_in_slice if frame_mbs_only_flag==0 && mb_aff==0
author | michael |
---|---|
date | Tue, 28 Jun 2005 06:45:41 +0000 |
parents | 4d8010054ba9 |
children | 3eddfe241bb9 |
files | h264.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/h264.c Mon Jun 27 23:13:10 2005 +0000 +++ b/h264.c Tue Jun 28 06:45:41 2005 +0000 @@ -4234,7 +4234,7 @@ 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; } }