changeset 757:d031d1575ceb libavcodec

fixing interlaced dct with 4mv
author michaelni
date Sat, 19 Oct 2002 11:03:13 +0000
parents f2644bb12a43
children cca620e89cf0
files h263.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/h263.c	Sat Oct 19 01:31:26 2002 +0000
+++ b/h263.c	Sat Oct 19 11:03:13 2002 +0000
@@ -619,6 +619,11 @@
                 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;