summaryrefslogtreecommitdiffstats
path: root/libFLAC/include/private/md5.h
diff options
context:
space:
mode:
authorRobert Shih <robertshih@google.com>2015-01-05 17:35:54 -0800
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2015-10-18 22:49:31 +0200
commitf18d1a93390fedbb03f81db82322215ce027c1e0 (patch)
treefa607172a51170011043a907c3a475da4c60c24a /libFLAC/include/private/md5.h
parent686d6ff2afda2ea3211bec37ad0daa655c24e6d4 (diff)
downloadexternal_flac-f18d1a93390fedbb03f81db82322215ce027c1e0.zip
external_flac-f18d1a93390fedbb03f81db82322215ce027c1e0.tar.gz
external_flac-f18d1a93390fedbb03f81db82322215ce027c1e0.tar.bz2
libFLAC: merge master from Xiph
remote: https://git.xiph.org/flac.git commit: 775eb93 Bug: 18872897 Bug: 18910747 Change-Id: I6e450e44c96b97c3323e428b9e6d420422f24a4e (cherry picked from commit 31e4f3166a91a2ebb34f643787122a638d9f1471) Tested-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Diffstat (limited to 'libFLAC/include/private/md5.h')
-rw-r--r--libFLAC/include/private/md5.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libFLAC/include/private/md5.h b/libFLAC/include/private/md5.h
index e5f675a..c665ab3 100644
--- a/libFLAC/include/private/md5.h
+++ b/libFLAC/include/private/md5.h
@@ -28,11 +28,17 @@
#include "FLAC/ordinals.h"
+typedef union {
+ FLAC__byte *p8;
+ FLAC__int16 *p16;
+ FLAC__int32 *p32;
+} FLAC__multibyte;
+
typedef struct {
FLAC__uint32 in[16];
FLAC__uint32 buf[4];
FLAC__uint32 bytes[2];
- FLAC__byte *internal_buf;
+ FLAC__multibyte internal_buf;
size_t capacity;
} FLAC__MD5Context;