commit | 40e817dc526d1d41e900bb0f54d1a4451bda01ed | [log] [tgz] |
---|---|---|
author | Erik de Castro Lopo <erikd@mega-nerd.com> | Fri Jun 27 21:58:26 2014 +1000 |
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | Fri Jun 27 22:06:39 2014 +1000 |
tree | 1e4f9044f5d2ea97bd646c35785ab0f24114938c | |
parent | 1f7c085960e17e63a88e6b8bf40c5ddcae1a6613 [diff] |
src/flac/decode.c : Fix a cast-align warning from GCC. The old code was creating an array of FLAC__int8, and then casting that to a set of signed and unsigned 16 and 32 bit integers. This was replaced with a single union containing all the requred array. This solution means that there are fewer pointer casts and actually gives the compiler more information with which to generate fast code.