changeset 6156:b5702c981fe2 libavcodec

Save quantizer values as well
author kostya
date Fri, 18 Jan 2008 07:04:58 +0000
parents a425bdc70ac5
children 953c8efd5298
files rv34.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rv34.c	Fri Jan 18 07:04:11 2008 +0000
+++ b/rv34.c	Fri Jan 18 07:04:58 2008 +0000
@@ -1014,6 +1014,7 @@
     cbp = cbp2 = rv34_decode_mb_header(r, intra_types);
     r->cbp_luma  [s->mb_x + s->mb_y * s->mb_stride] = cbp;
     r->cbp_chroma[s->mb_x + s->mb_y * s->mb_stride] = cbp >> 16;
+    s->current_picture.qscale_table[s->mb_x + s->mb_y * s->mb_stride] = s->qscale;
 
     if(cbp == -1)
         return -1;