Commit ebcdf0be authored by michaelni's avatar michaelni

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@984 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 738dff5f
......@@ -1630,7 +1630,7 @@ static int mpeg1_decode_sequence(AVCodecContext *avctx,
#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 @@ static int mpeg1_decode_sequence(AVCodecContext *avctx,
#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 {
......
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