[vlc-devel] commit: dmo: use const for audio channels struct (Derk-Jan Hartman )

git version control git at videolan.org
Sun Aug 3 13:38:45 CEST 2008


vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Sun Aug  3 13:32:16 2008 +0200| [a43c106d2f6b90beb0b05ea7d0c0c80f572ad8db] | committer: Derk-Jan Hartman 

dmo: use const for audio channels struct

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

 modules/codec/dmo/dmo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/codec/dmo/dmo.c b/modules/codec/dmo/dmo.c
index 55fe6e2..91d88d6 100644
--- a/modules/codec/dmo/dmo.c
+++ b/modules/codec/dmo/dmo.c
@@ -67,7 +67,7 @@ int     WINAPI FreeLibrary(HMODULE);
 
 typedef long (STDCALL *GETCLASS) ( const GUID*, const GUID*, void** );
 
-static int pi_channels_maps[7] =
+static const int pi_channels_maps[7] =
 {
     0,
     AOUT_CHAN_CENTER,




More information about the vlc-devel mailing list