summaryrefslogtreecommitdiff
path: root/libavcodec/rv10.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-12-03 16:47:17 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-12-03 16:47:17 +0000
commit554daa2402bb52e8fd5dee14ef49b5043eda0fe6 (patch)
treebad9fb00f7f43044788c97515575e6eaf4fa010c /libavcodec/rv10.c
parent6beeb962a2e62abf9857d4c4a167341acee8b867 (diff)
cleanup
Originally committed as revision 2558 to svn://svn.ffmpeg.org/ffmpeg/trunk
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;