Commit 4f1c7e3c authored by Fabrice Bellard's avatar Fabrice Bellard
Browse files

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


Originally committed as revision 51 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 689b775b
......@@ -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