Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-06 23:56:20 +0300
committerJames Almer <jamrial@gmail.com>2021-04-27 16:43:13 +0300
commita240097ecd4fb1639db99e7becb888ae478405cd (patch)
tree26a70d86c81463ced96d1123bb0d06621668dffd /libavutil/adler32.h
parent6e30b35b85b81c802e52a1078ec7a3097e353c6d (diff)
avutil: Switch crypto APIs to size_t
Announced in e435beb1ea5380a90774dbf51fdc8c941e486551. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/adler32.h')
-rw-r--r--libavutil/adler32.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/libavutil/adler32.h b/libavutil/adler32.h
index e7a8f83729..232d07f5fe 100644
--- a/libavutil/adler32.h
+++ b/libavutil/adler32.h
@@ -30,7 +30,6 @@
#include <stddef.h>
#include <stdint.h>
#include "attributes.h"
-#include "version.h"
/**
* @defgroup lavu_adler32 Adler-32
@@ -40,11 +39,7 @@
* @{
*/
-#if FF_API_CRYPTO_SIZE_T
-typedef unsigned long AVAdler;
-#else
typedef uint32_t AVAdler;
-#endif
/**
* Calculate the Adler32 checksum of a buffer.
@@ -59,11 +54,7 @@ typedef uint32_t AVAdler;
* @return updated checksum
*/
AVAdler av_adler32_update(AVAdler adler, const uint8_t *buf,
-#if FF_API_CRYPTO_SIZE_T
- unsigned int len) av_pure;
-#else
size_t len) av_pure;
-#endif
/**
* @}