diff --git a/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAESink.cpp b/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAESink.cpp index b863927af9228..c6265017ea931 100644 --- a/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAESink.cpp +++ b/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAESink.cpp @@ -951,7 +951,7 @@ unsigned int CActiveAESink::OutputSamples(CSampleBuffer* samples) totalFrames = samples->pkt->max_nb_samples; } // stuffing - memset(buffer+12, 0, totalFrames*m_sinkFormat.m_frameSize-12); + memset(buffer[0]+12, 0, totalFrames*m_sinkFormat.m_frameSize-12); } frames = totalFrames;