This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
cleanup suggested by Michael Niedermayer
Originally committed as revision 5732 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Måns Rullgård
19 years ago
parent
b9a73d8d2f
commit
38603ff65d
1 changed files
with
5 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-3
libavutil/adler32.c
+ 5
- 3
libavutil/adler32.c
View File
@@ -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;
}
Write
Preview
Loading…
Cancel
Save