Revision 38603ff6
libavutil/adler32.c  

25  25 
if (buf == NULL) return 1L; 
26  26  
27  27 
while (len > 0) { 
28 
k = len < NMAX ? len : NMAX;


28 
k = FFMIN(len, NMAX);


29  29 
len = k; 
30 
#ifndef CONFIG_SMALL 

30  31 
while (k >= 16) { 
31  32 
DO16(buf); 
32  33 
k = 16; 
33  34 
} 
34 
if (k != 0) do { 

35 
#endif 

36 
while(k) { 

35  37 
DO1(buf); 
36 
} while (k);


38 
} 

37  39 
s1 %= BASE; 
38  40 
s2 %= BASE; 
39  41 
} 
Also available in: Unified diff