Mercurial > libavcodec.hg
diff mpegvideo.c @ 882:34943cb0c2fb libavcodec
* remaining part of John Ryland's patch
author | kabi |
---|---|
date | Fri, 22 Nov 2002 07:24:28 +0000 |
parents | 1c32039e7215 |
children | 35d28522a1c5 |
line wrap: on
line diff
--- a/mpegvideo.c Wed Nov 20 15:18:11 2002 +0000 +++ b/mpegvideo.c Fri Nov 22 07:24:28 2002 +0000 @@ -3074,7 +3074,8 @@ *overflow= s->max_qcoeff < max; //overflow might have happend /* we need this permutation so that we correct the IDCT, we only permute the !=0 elements */ - ff_block_permute(block, s->idct_permutation, scantable, last_non_zero); + if (s->idct_permutation_type != FF_NO_IDCT_PERM) + ff_block_permute(block, s->idct_permutation, scantable, last_non_zero); return last_non_zero; }