changeset 912:4a1e6bb1f41c libavcodec

fixing hq + adaptive quant
author michaelni
date Thu, 05 Dec 2002 19:18:13 +0000
parents 4b2c86f1fee9
children 51f3b644ae30
files mpegvideo.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo.c	Thu Dec 05 11:33:43 2002 +0000
+++ b/mpegvideo.c	Thu Dec 05 19:18:13 2002 +0000
@@ -2494,6 +2494,7 @@
     d->last_bits= 0;
 
     d->mb_skiped= s->mb_skiped;
+    d->qscale= s->qscale;
 }
 
 static inline void copy_context_after_encode(MpegEncContext *d, MpegEncContext *s, int type){
@@ -2530,6 +2531,7 @@
     for(i=0; i<6; i++)
         d->block_last_index[i]= s->block_last_index[i];
     d->interlaced_dct= s->interlaced_dct;
+    d->qscale= s->qscale;
 }
 
 static inline void encode_mb_hq(MpegEncContext *s, MpegEncContext *backup, MpegEncContext *best, int type,