aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp3.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-07-17 11:06:09 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-07-17 11:06:09 +0000
commita14ab4e4d435fbbfc17aa57c1aff8b2fd9b62e68 (patch)
treec8a894605c4f2e2088013d77ea4e751d03abecff /libavcodec/vp3.c
parent116d866ca5052ab3d50b2ead7acf5f63c945c273 (diff)
downloadffmpeg-a14ab4e4d435fbbfc17aa57c1aff8b2fd9b62e68.tar.gz
100l for me
Originally committed as revision 5777 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp3.c')
-rw-r--r--libavcodec/vp3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index 75f08893b8..2d7bca13e4 100644
--- a/libavcodec/vp3.c
+++ b/libavcodec/vp3.c
@@ -667,7 +667,7 @@ static void init_dequantizer(Vp3DecodeContext *s)
+ s->qr_size[inter][plane][qri])
/ (2*s->qr_size[inter][plane][qri]);
- int qmin= 8<<(inter + !plane);
+ int qmin= 8<<(inter + !i);
int qscale= i ? ac_scale_factor : dc_scale_factor;
s->qmat[inter][plane][i]= clip((qscale * coeff)/100 * 4, qmin, 4096);