Browse Source

Take idct permutation into account when initializing dequantization matrices

Originally committed as revision 15344 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
David Conrad 17 years ago
parent
commit
7f065b36c8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/vp3.c

+ 1
- 1
libavcodec/vp3.c View File

@@ -627,7 +627,7 @@ static void init_dequantizer(Vp3DecodeContext *s)
int qmin= 8<<(inter + !i);
int qscale= i ? ac_scale_factor : dc_scale_factor;

s->qmat[inter][plane][i]= av_clip((qscale * coeff)/100 * 4, qmin, 4096);
s->qmat[inter][plane][s->dsp.idct_permutation[i]]= av_clip((qscale * coeff)/100 * 4, qmin, 4096);
}
}
}


Loading…
Cancel
Save