From 49943a18d0b419f495fb77d36f931ae58645adc1 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 19 Oct 2002 11:03:13 +0000 Subject: [PATCH] fixing interlaced dct with 4mv Originally committed as revision 1050 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h263.c | 5 +++++ 1 file changed, 5 insertions(+) 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;