Commit f6ec76ad authored by aurel's avatar aurel

clip_uint8 now return an uint8_t so no need to &0xFF


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5339 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7dccee10
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment