[MPlayer-cvslog] r35566 - trunk/libao2/ao_dsound.c

reimar subversion at mplayerhq.hu
Sun Dec 2 22:58:33 CET 2012


Author: reimar
Date: Sun Dec  2 22:58:33 2012
New Revision: 35566

Log:
Make lookup table static.

Modified:
   trunk/libao2/ao_dsound.c

Modified: trunk/libao2/ao_dsound.c
==============================================================================
--- trunk/libao2/ao_dsound.c	Sun Dec  2 22:44:49 2012	(r35565)
+++ trunk/libao2/ao_dsound.c	Sun Dec  2 22:58:33 2012	(r35566)
@@ -329,7 +329,7 @@ static int write_buffer(unsigned char *d
   	    // it's this easy because buffer size and len are always
   	    // aligned to multiples of channels*bytespersample
   	    // there's probably some room for speed improvements here
-  	    const int chantable[6] = {0, 1, 4, 5, 2, 3}; // reorder "matrix"
+  	    static const int chantable[6] = {0, 1, 4, 5, 2, 3}; // reorder "matrix"
   	    int i, j;
   	    int numsamp,sampsize;
 


More information about the MPlayer-cvslog mailing list