Mercurial > libavcodec.hg
diff mpeg12.c @ 2591:65874d96c2da libavcodec
Typo errors patch by (QuickTime | ffmpeg gmail com>
author | michael |
---|---|
date | Mon, 04 Apr 2005 11:25:44 +0000 |
parents | 4aba13499a91 |
children | 0d88e3f89379 |
line wrap: on
line diff
--- a/mpeg12.c Sun Apr 03 17:34:31 2005 +0000 +++ b/mpeg12.c Mon Apr 04 11:25:44 2005 +0000 @@ -1050,7 +1050,7 @@ DCTELEM block[12][64]) { int i, j, k, cbp, val, mb_type, motion_type; - const int mb_block_count = 4 + (1<< s->chroma_format) + const int mb_block_count = 4 + (1<< s->chroma_format); dprintf("decode_mb: x=%d y=%d\n", s->mb_x, s->mb_y); @@ -2718,7 +2718,7 @@ #ifdef DEBUG dprintf("intra matrix present\n"); for(i=0;i<64;i++) - dprintf(" %d", s->intra_matrix[s->dsp.idct_permutation[i]); + dprintf(" %d", s->intra_matrix[s->dsp.idct_permutation[i]]); printf("\n"); #endif } else { @@ -2743,7 +2743,7 @@ #ifdef DEBUG dprintf("non intra matrix present\n"); for(i=0;i<64;i++) - dprintf(" %d", s->inter_matrix[s->dsp.idct_permutation[i]); + dprintf(" %d", s->inter_matrix[s->dsp.idct_permutation[i]]); printf("\n"); #endif } else {