diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-10-19 11:03:13 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-10-19 11:03:13 +0000 |
commit | 49943a18d0b419f495fb77d36f931ae58645adc1 (patch) | |
tree | 43b36e53cde54042d6880a79c4cb23ae1f6d979d /libavcodec/h263.c | |
parent | 8b32880cc90ab9bdf473b3a0ae27ac06e877b367 (diff) | |
download | ffmpeg-49943a18d0b419f495fb77d36f931ae58645adc1.tar.gz |
fixing interlaced dct with 4mv
Originally committed as revision 1050 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r-- | libavcodec/h263.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c index 615d380363..35963eb5a2 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -619,6 +619,11 @@ void mpeg4_encode_mb(MpegEncContext * s, cbpy ^= 0xf; put_bits(pb2, cbpy_tab[cbpy][1], cbpy_tab[cbpy][0]); + if(!s->progressive_sequence){ + if(cbp) + put_bits(pb2, 1, s->interlaced_dct); + } + if(interleaved_stats){ bits= get_bit_count(&s->pb); s->misc_bits+= bits - s->last_bits; |