1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00
Originally committed as revision 6785 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2006-10-24 09:09:38 +00:00
parent 8d42cf7496
commit 3b6d23293c

View File

@ -77,9 +77,7 @@ static void ls_init_state(JLSState *state){
state->limit = (4 * state->bpp) - state->qbpp;
for(i = 0; i < 367; i++) {
state->A[i] = (state->range + 32) >> 6;
if(state->A[i] < 2)
state->A[i] = 2;
state->A[i] = FFMAX((state->range + 32) >> 6, 2);
state->N[i] = 1;
}