diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-09-30 10:06:17 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-09-30 10:06:17 +0000 |
commit | 8e1652dc9dac6cd6ccb30cac1b646f3af96c3ca9 (patch) | |
tree | b98d7c4a2f316d533284ef4ce0be09af389d0123 /libavcodec/mpeg12.c | |
parent | cc7ac88830edd58af9c4c552658319706e396e5b (diff) | |
download | ffmpeg-8e1652dc9dac6cd6ccb30cac1b646f3af96c3ca9.tar.gz |
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
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r-- | libavcodec/mpeg12.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 0ae140f02c..41f942cdd8 100644 --- a/libavcodec/mpeg12.c +++ b/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 { |