diff options
Diffstat (limited to '')
-rw-r--r-- | src/pcm_utils.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pcm_utils.c b/src/pcm_utils.c index c041cbfb8..b56ed33ac 100644 --- a/src/pcm_utils.c +++ b/src/pcm_utils.c @@ -137,10 +137,10 @@ void pcm_mix(char *buffer1, char *buffer2, size_t bufferSize1, void pcm_convertAudioFormat(AudioFormat * inFormat, char *inBuffer, size_t inSize, AudioFormat * outFormat, char *outBuffer) { - static char *bitConvBuffer = NULL; - static int bitConvBufferLength = 0; - static char *channelConvBuffer = NULL; - static int channelConvBufferLength = 0; + static char *bitConvBuffer; + static int bitConvBufferLength; + static char *channelConvBuffer; + static int channelConvBufferLength; char *dataChannelConv; int dataChannelLen; char *dataBitConv; |