[vlc-commits] Use the proper type when reordering channels

Denis Charmet git at videolan.org
Sun Apr 21 19:09:06 CEST 2013


vlc | branch: master | Denis Charmet <typx at dinauz.org> | Sun Apr 21 19:06:29 2013 +0200| [6e7fd39a3afd2cecaf8e8b928edd821a0da408f5] | committer: Denis Charmet

Use the proper type when reordering channels

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6e7fd39a3afd2cecaf8e8b928edd821a0da408f5
---

 src/audio_output/common.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/audio_output/common.c b/src/audio_output/common.c
index c725ca5..1742cab 100644
--- a/src/audio_output/common.c
+++ b/src/audio_output/common.c
@@ -302,7 +302,7 @@ do { \
 \
     for( size_t i = 0; i < frames; i++ ) \
     { \
-        float tmp[AOUT_CHAN_MAX]; \
+        type tmp[AOUT_CHAN_MAX]; \
 \
         for( size_t j = 0; j < channels; j++ ) \
             tmp[chans_table[j]] = buf[j]; \



More information about the vlc-commits mailing list