aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rv34.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2008-01-18 07:04:58 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2008-01-18 07:04:58 +0000
commit34093ab58e370af92a65b427a101e04092225837 (patch)
treedb5f0ec1a4e8f9d865922f5684510689a328b350 /libavcodec/rv34.c
parentb008e6b869ae2b4cc0de36b9b21b81eca2b97ade (diff)
downloadffmpeg-34093ab58e370af92a65b427a101e04092225837.tar.gz
Save quantizer values as well
Originally committed as revision 11555 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rv34.c')
-rw-r--r--libavcodec/rv34.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/rv34.c b/libavcodec/rv34.c
index dbbe445c96..5b58498968 100644
--- a/libavcodec/rv34.c
+++ b/libavcodec/rv34.c
@@ -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;