Skip to content
Snippets Groups Projects
Commit 8e1652dc authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

forgot zigzag_direct[] behind #ifdef DEBUG (found by Klaas-Pieter Vlieg <vlieg at eurescom dot de>)

Originally committed as revision 984 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent cc7ac888
No related branches found
No related tags found
No related merge requests found
...@@ -1630,7 +1630,7 @@ static int mpeg1_decode_sequence(AVCodecContext *avctx, ...@@ -1630,7 +1630,7 @@ static int mpeg1_decode_sequence(AVCodecContext *avctx,
#ifdef DEBUG #ifdef DEBUG
dprintf("intra matrix present\n"); dprintf("intra matrix present\n");
for(i=0;i<64;i++) 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"); printf("\n");
#endif #endif
} else { } else {
...@@ -1651,7 +1651,7 @@ static int mpeg1_decode_sequence(AVCodecContext *avctx, ...@@ -1651,7 +1651,7 @@ static int mpeg1_decode_sequence(AVCodecContext *avctx,
#ifdef DEBUG #ifdef DEBUG
dprintf("non intra matrix present\n"); dprintf("non intra matrix present\n");
for(i=0;i<64;i++) 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"); printf("\n");
#endif #endif
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment