changeset 710:97377ab86647 libavcodec

forgot zigzag_direct[] behind #ifdef DEBUG (found by Klaas-Pieter Vlieg <vlieg at eurescom dot de>)
author michaelni
date Mon, 30 Sep 2002 10:06:17 +0000
parents afeff6ccb7f5
children dcbcf9676c9f
files mpeg12.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mpeg12.c	Mon Sep 30 09:19:54 2002 +0000
+++ b/mpeg12.c	Mon Sep 30 10:06:17 2002 +0000
@@ -1630,7 +1630,7 @@
 #ifdef DEBUG
         dprintf("intra matrix present\n");
         for(i=0;i<64;i++)
-            dprintf(" %d", s->intra_matrix[zigzag_direct[i]]);
+            dprintf(" %d", s->intra_matrix[s->intra_scantable.permutated[i]]);
         printf("\n");
 #endif
     } else {
@@ -1651,7 +1651,7 @@
 #ifdef DEBUG
         dprintf("non intra matrix present\n");
         for(i=0;i<64;i++)
-            dprintf(" %d", s->inter_matrix[zigzag_direct[i]]);
+            dprintf(" %d", s->inter_matrix[s->intra_scantable.permutated[i]]);
         printf("\n");
 #endif
     } else {