Revision 82012619

View differences:

libavutil/adler32.h
24 24
#include <stdint.h>
25 25
#include "attributes.h"
26 26

  
27
/**
28
 * Calculate the Adler32 checksum of a buffer.
29
 *
30
 * Passing the return value to a subsequent av_adler32_update() call
31
 * allows the checksum of multiple buffers to be calculated as though
32
 * they were concatenated.
33
 *
34
 * @param adler initial checksum value
35
 * @param buf   pointer to input buffer
36
 * @param len   size of input buffer
37
 * @return      updated checksum
38
 */
27 39
unsigned long av_adler32_update(unsigned long adler, const uint8_t *buf,
28 40
                                unsigned int len) av_pure;
29 41

  

Also available in: Unified diff