diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2006-05-01 00:28:36 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2006-05-01 00:28:36 +0000 |
commit | c51ba67a988dc76b81a56ee1d674cf51ee59fa96 (patch) | |
tree | 6823d382883d4dd197ec78c6dc6d0327857af00b | |
parent | 77177335f041c622df5afae79ae8670529c3341a (diff) | |
download | ffmpeg-c51ba67a988dc76b81a56ee1d674cf51ee59fa96.tar.gz |
clip_uint8 now return an uint8_t so no need to &0xFF
Originally committed as revision 5339 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/mpegvideo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 7ae84994e2..f2a57078ad 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -5577,7 +5577,7 @@ static void encode_picture(MpegEncContext *s, int picture_number) 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); |