diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-04-20 10:05:15 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-04-20 10:05:15 +0000 |
commit | ee572c5482d9aacbf2cfaf3a6b717c32ba1b5ac5 (patch) | |
tree | 92764fd1a1e25e4ffcc8367e0d6ac9ce6387d49e /libavcodec/mpegvideo.c | |
parent | f707a5ebba734597b1ff0810931b55b630077ab3 (diff) | |
download | ffmpeg-ee572c5482d9aacbf2cfaf3a6b717c32ba1b5ac5.tar.gz |
remove duplicate clip to 8bit function
Originally committed as revision 4143 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-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 336cf141ae..cbd70106cd 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -5367,7 +5367,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] = CLAMP_TO_8BIT((ff_mpeg1_default_intra_matrix[i] * s->qscale) >> 3); + 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); |