diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2015-08-31 00:17:03 +1000 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2015-08-31 00:22:16 +1000 |
commit | 0bea5fb96436588b4e78c5be79bf174b9be7a202 (patch) | |
tree | 9ffc5574b3aaa8eef53d6e049acba5682b608b38 /src/flac | |
parent | 3982865e9728f97bf6e1671cda951c9b86508424 (diff) | |
download | flac-0bea5fb96436588b4e78c5be79bf174b9be7a202.tar.gz |
flac/encode.c: Fix undefinoed behaviour
Diffstat (limited to 'src/flac')
-rw-r--r-- | src/flac/encode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flac/encode.c b/src/flac/encode.c index ba1ee62e..d313f233 100644 --- a/src/flac/encode.c +++ b/src/flac/encode.c @@ -2432,7 +2432,7 @@ FLAC__bool format_input(FLAC__int32 *dest[], unsigned wide_samples, FLAC__bool i unsigned b; for(b = sample = wide_sample = 0; wide_sample < wide_samples; wide_sample++) for(channel = 0; channel < channels; channel++, sample++) { - FLAC__int32 t; + uint32_t t; t = ubuffer.s8[b++]; t <<= 8; t |= ubuffer.u8[b++]; t <<= 8; t |= ubuffer.u8[b++]; |