aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_utils.h
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2007-11-21 14:02:03 +0000
committerAvuton Olrich <avuton@gmail.com>2007-11-21 14:02:03 +0000
commit5e085751f513e2a56c03dd4fe68fc39996579755 (patch)
tree8249fe2da11607e60339df5d44606f97fb1dfedd /src/pcm_utils.h
parent6f11941e5ee62b6db74edf7d09044a9a6ddbbb9b (diff)
downloadmpd-5e085751f513e2a56c03dd4fe68fc39996579755.tar.gz
mpd-5e085751f513e2a56c03dd4fe68fc39996579755.tar.xz
mpd-5e085751f513e2a56c03dd4fe68fc39996579755.zip
A better way to do the last patch (extremely minor patch)
git-svn-id: https://svn.musicpd.org/mpd/trunk@7042 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/pcm_utils.h')
-rw-r--r--src/pcm_utils.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/pcm_utils.h b/src/pcm_utils.h
index 0d0e08959..1b7757be0 100644
--- a/src/pcm_utils.h
+++ b/src/pcm_utils.h
@@ -38,11 +38,9 @@ typedef struct _ConvState {
mpd_sint8 lastChannels;
mpd_sint32 lastInSampleRate;
mpd_sint32 lastOutSampleRate;
- int error;
-#else
- /* Strict C99 doesn't allow empty structs */
- void *__padding;
#endif
+ /* Strict C99 doesn't allow empty structs */
+ int error;
} ConvState;
void pcm_volumeChange(char *buffer, int bufferSize, AudioFormat * format,