Commit 89b6ee37 authored by michael's avatar michael

FFMAX


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6785 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 68c607e9
......@@ -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;
}
......
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