• Travis Cross's avatar
    Handle zero channels when allocating for resampler · decc19cc
    Travis Cross 提交于
    When the number of channels was zero, we were calling malloc with a
    size of zero.  While defined, this is unusual.  And since we're
    initializing the speex resampler as though there were one channel in
    this case, we should probably just allocate the space for it.
    decc19cc
switch_resample.c 8.7 KB