changeset 40:f324d9047ca3 libavcodec

fixed block permutation in encoder (not optimal - should move it in forward DCT code)
author glantau
date Tue, 07 Aug 2001 22:48:42 +0000
parents f6806d3e2d37
children d99e8a2351f4
files mpegvideo.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)