# HG changeset patch # User glantau # Date 997224522 0 # Node ID f324d9047ca36dd8573367cc0095d10db8df21f0 # Parent f6806d3e2d371fe7b47f2285f9334fc4939ad73a fixed block permutation in encoder (not optimal - should move it in forward DCT code) diff -r f6806d3e2d37 -r f324d9047ca3 mpegvideo.c --- a/mpegvideo.c Tue Aug 07 22:47:28 2001 +0000 +++ b/mpegvideo.c Tue Aug 07 22:48:42 2001 +0000 @@ -1068,6 +1068,10 @@ 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)