diff options
author | tack <tack@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-11-28 18:23:26 +0000 |
---|---|---|
committer | tack <tack@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-11-28 18:23:26 +0000 |
commit | b2adf9d98d8f59162ffcfdcd254e8626aacbec18 (patch) | |
tree | 473b2ba1f2cb69da4b971cbd4ddf4fbd99147356 /libaf/af_sub.c | |
parent | ea6fe5dc405c6f5f5bfbcd6db2e4504ca67f2795 (diff) | |
download | mpv-b2adf9d98d8f59162ffcfdcd254e8626aacbec18.tar.bz2 mpv-b2adf9d98d8f59162ffcfdcd254e8626aacbec18.tar.xz |
Fix mangling of 24-bit audio during channel reorder.
Only 1/3 of the samples in the buffer passed to reorder_channel_nch()
were being reordered. For 8-, 16-, and 32-bit audio, the buffers could
be treated as int8_t, int16_t, and int32_t respectively. 24-bit audio
was being processed as int8_t, requiring iteration over n_samples*3, not
n_samples.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29971 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf/af_sub.c')
0 files changed, 0 insertions, 0 deletions