mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
FFMAX
Originally committed as revision 6785 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8d42cf7496
commit
3b6d23293c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user