diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ffmpeg/libavutil/Makefile | 3 | ||||
-rw-r--r-- | contrib/ffmpeg/libavutil/sha1.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/contrib/ffmpeg/libavutil/Makefile b/contrib/ffmpeg/libavutil/Makefile index a760401ab..4afcd3b99 100644 --- a/contrib/ffmpeg/libavutil/Makefile +++ b/contrib/ffmpeg/libavutil/Makefile @@ -15,10 +15,11 @@ OBJS= mathematics.o \ random.o \ aes.o \ base64.o \ + sha1.o \ HEADERS = avutil.h common.h mathematics.h integer.h rational.h \ intfloat_readwrite.h md5.h adler32.h log.h fifo.h lzo.h \ - random.h mem.h base64.h + random.h mem.h base64.h sha1.h NAME=avutil LIBVERSION=$(LAVUVERSION) diff --git a/contrib/ffmpeg/libavutil/sha1.c b/contrib/ffmpeg/libavutil/sha1.c index 6c10791f4..7f4fdb767 100644 --- a/contrib/ffmpeg/libavutil/sha1.c +++ b/contrib/ffmpeg/libavutil/sha1.c @@ -11,6 +11,8 @@ typedef struct AVSHA1 { uint32_t state[5]; } AVSHA1; +const int av_sha1_size = sizeof(AVSHA1); + #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits)))) /* (R0+R1), R2, R3, R4 are the different operations used in SHA1 */ |