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
pull/126/head
Michael Niedermayer 23 years ago
parent cc7ac88830
commit 8e1652dc9d
  1. 4
      libavcodec/mpeg12.c

@ -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 {

Loading…
Cancel
Save