diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-06-28 06:45:41 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-06-28 06:45:41 +0000 |
commit | e679cd1ab0c45e2d31454b799f3e7c1b3aebbd02 (patch) | |
tree | 94d9ab5c24887c4cef61535b6aa2bbb5a0432241 /libavcodec/h264.c | |
parent | 6b53b87e20a4fc399df7e1936769a3969a901cfc (diff) | |
download | ffmpeg-e679cd1ab0c45e2d31454b799f3e7c1b3aebbd02.tar.gz |
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
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index f17c592df6..395ae1c503 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -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; } } |