Mercurial > libavcodec.hg
changeset 3286:30d412952107 libavcodec
clip_uint8 now return an uint8_t so no need to &0xFF
author | aurel |
---|---|
date | Mon, 01 May 2006 00:28:36 +0000 |
parents | d061e145af94 |
children | 1eaa95d9e999 |
files | mpegvideo.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegvideo.c Sun Apr 30 19:31:45 2006 +0000 +++ b/mpegvideo.c Mon May 01 00:28:36 2006 +0000 @@ -5577,7 +5577,7 @@ for(i=1;i<64;i++){ int j= s->dsp.idct_permutation[i]; - s->intra_matrix[j] = clip_uint8((ff_mpeg1_default_intra_matrix[i] * s->qscale) >> 3) & 0xFF; + s->intra_matrix[j] = clip_uint8((ff_mpeg1_default_intra_matrix[i] * s->qscale) >> 3); } convert_matrix(&s->dsp, s->q_intra_matrix, s->q_intra_matrix16, s->intra_matrix, s->intra_quant_bias, 8, 8, 1);