diff options
author | Eric Wong <normalperson@yhbt.net> | 2007-02-19 07:58:08 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2007-02-19 07:58:08 +0000 |
commit | 08a7a86be21d98bc542988bb36c91c0747643435 (patch) | |
tree | 9527c69ef97d4a34dc2dd6822daabd39714c74e3 /src/gcc.h | |
parent | 658b8f53df5e13711632a36741e7c2b7a46ae8aa (diff) | |
download | mpd-08a7a86be21d98bc542988bb36c91c0747643435.tar.gz mpd-08a7a86be21d98bc542988bb36c91c0747643435.tar.xz mpd-08a7a86be21d98bc542988bb36c91c0747643435.zip |
pcm_utils: fix libsamplerate compilation with non-C99 compilers
Mixing code and declarations is ugly, anyways.
We could probably get away with using alloca(), but I'm not sure
how good compiler support is for that, either. It's probably
more supported than mixed declarations and code. Nevertheless;
we'll trigger memory checkers on exit because we don't free
the buffers; but we won't actually leak because we reuse those
buffers (just like the non-SRC code path).
git-svn-id: https://svn.musicpd.org/mpd/trunk@5397 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/gcc.h')
0 files changed, 0 insertions, 0 deletions