Skip to content

Commit

Permalink
[adsp][ActiveAEDSPProcess] Set FFMPEG converter array to NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
AchimTuran committed Jun 17, 2016
1 parent cb2e109 commit e591f0a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1640,12 +1640,14 @@ void CActiveAEDSPProcess::SetFFMpegDSPProcessorArray(float *array_ffmpeg[AE_DSP_
/*! NOTE: If you change or add new channel enums to AEChannel in
* xbmc/cores/AudioEngine/Utils/AEChannelData.h you have to adapt this loop
*/
memset(array_ffmpeg, 0, sizeof(float*)*AE_DSP_CH_MAX);
for (int ii = 0; ii < AE_DSP_CH_MAX; ii++)
{
if (ChannelFlags & 1 << ii)
{
array_ffmpeg[m_idx_in[ii + 1]] = array_dsp[ii];
}

}
}

Expand Down

0 comments on commit e591f0a

Please sign in to comment.