Commit f6db1630 authored by glantau's avatar glantau

fixed block permutation in encoder (not optimal - should move it in forward DCT code)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@51 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3328ee3c
......@@ -1068,6 +1068,10 @@ static int dct_quantize_mmx(MpegEncContext *s,
const int *qmat;
av_fdct (block);
/* we need this permutation so that we correct the IDCT
permutation. will be moved into DCT code */
block_permute(block);
if (s->mb_intra) {
if (n < 4)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment