diff options
Diffstat (limited to '')
-rw-r--r-- | src/outputBuffer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/outputBuffer.c b/src/outputBuffer.c index d9cbcdc60..c7ff8b479 100644 --- a/src/outputBuffer.c +++ b/src/outputBuffer.c @@ -89,9 +89,9 @@ int sendDataToOutputBuffer(OutputBuffer * cb, InputStream * inStream, convBufferLen = datalen; } data = convBuffer; - pcm_convertAudioFormat(&(dc->audioFormat), dataIn, dataInLen, - &(cb->audioFormat), data, - &(cb->convState)); + datalen = pcm_convertAudioFormat(&(dc->audioFormat), dataIn, + dataInLen, &(cb->audioFormat), + data, &(cb->convState)); } if (replayGainInfo && (replayGainState != REPLAYGAIN_OFF)) |