Commit 377b5083 authored by mru's avatar mru

cleanup suggested by Michael Niedermayer


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5732 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f88fc566
......@@ -25,15 +25,17 @@ unsigned long av_adler32_update(unsigned long adler, const uint8_t *buf, unsigne
if (buf == NULL) return 1L;
while (len > 0) {
k = len < NMAX ? len : NMAX;
k = FFMIN(len, NMAX);
len -= k;
#ifndef CONFIG_SMALL
while (k >= 16) {
DO16(buf);
k -= 16;
}
if (k != 0) do {
#endif
while(k--) {
DO1(buf);
} while (--k);
}
s1 %= BASE;
s2 %= BASE;
}
......
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