summaryrefslogtreecommitdiff
path: root/libavcodec/rv10.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/rv10.c')
-rw-r--r--libavcodec/rv10.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c
index f5c382c39e..17a8ceaeaa 100644
--- a/libavcodec/rv10.c
+++ b/libavcodec/rv10.c
@@ -527,9 +527,7 @@ static int rv10_decode_packet(AVCodecContext *avctx,
if(s->modified_quant)
s->chroma_qscale_table= ff_h263_chroma_qscale_table;
- s->chroma_qscale= s->chroma_qscale_table[ s->qscale ];
- s->y_dc_scale= s->y_dc_scale_table[ s->qscale ];
- s->c_dc_scale= s->c_dc_scale_table[ s->chroma_qscale ];
+ ff_set_qscale(s, s->qscale);
s->rv10_first_dc_coded[0] = 0;
s->rv10_first_dc_coded[1] = 0;