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
This commit is contained in:
Avuton Olrich 2007-11-21 14:02:03 +00:00
parent 6f11941e5e
commit 5e085751f5

View File

@ -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,