Save quantizer values as well
authorKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 18 Jan 2008 07:04:58 +0000 (07:04 +0000)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 18 Jan 2008 07:04:58 +0000 (07:04 +0000)
Originally committed as revision 11555 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/rv34.c

index dbbe445c966b904b5b4613a03631a9133ad05167..5b58498968f7c9699a825c32246ca56eba69b48e 100644 (file)
@@ -1014,6 +1014,7 @@ static int rv34_decode_macroblock(RV34DecContext *r, int8_t *intra_types)
     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;