[vlc-commits] aout/common: fix type for S16N interleaving
Lyndon Brown
git at videolan.org
Fri Nov 24 08:54:34 CET 2017
vlc | branch: master | Lyndon Brown <jnqnfe at gmail.com> | Sat Mar 18 17:34:25 2017 +0000| [34ad26ff6cef1b0c6745a784f9051fb03375d301] | committer: Jean-Baptiste Kempf
aout/common: fix type for S16N interleaving
This mistake happens to have no impact at all on computations, but deserved correction.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=34ad26ff6cef1b0c6745a784f9051fb03375d301
---
src/audio_output/common.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/audio_output/common.c b/src/audio_output/common.c
index 8fb9a00cf7..f7dbc57557 100644
--- a/src/audio_output/common.c
+++ b/src/audio_output/common.c
@@ -381,7 +381,7 @@ do { \
switch( fourcc )
{
case VLC_CODEC_U8: INTERLEAVE_TYPE(uint8_t); break;
- case VLC_CODEC_S16N: INTERLEAVE_TYPE(uint16_t); break;
+ case VLC_CODEC_S16N: INTERLEAVE_TYPE(int16_t); break;
case VLC_CODEC_FL32: INTERLEAVE_TYPE(float); break;
case VLC_CODEC_S32N: INTERLEAVE_TYPE(int32_t); break;
case VLC_CODEC_FL64: INTERLEAVE_TYPE(double); break;
@@ -417,7 +417,7 @@ do { \
switch( fourcc )
{
case VLC_CODEC_U8: DEINTERLEAVE_TYPE(uint8_t); break;
- case VLC_CODEC_S16N: DEINTERLEAVE_TYPE(uint16_t); break;
+ case VLC_CODEC_S16N: DEINTERLEAVE_TYPE(int16_t); break;
case VLC_CODEC_FL32: DEINTERLEAVE_TYPE(float); break;
case VLC_CODEC_S32N: DEINTERLEAVE_TYPE(int32_t); break;
case VLC_CODEC_FL64: DEINTERLEAVE_TYPE(double); break;
More information about the vlc-commits
mailing list