control/media_instance.c: Cons-ify the conversion table.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 21 Oct 2007 13:55:53 +0000 (13:55 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 21 Oct 2007 13:55:53 +0000 (13:55 +0000)
src/control/media_instance.c

index 178d34e..86356f2 100644 (file)
@@ -667,7 +667,7 @@ float libvlc_media_instance_get_rate(
     return (float)1000.0f/val.i_int;
 }
 
-static libvlc_state_t vlc_to_libvlc_state[] =
+static const libvlc_state_t vlc_to_libvlc_state[] =
 {
     [INIT_S]        = libvlc_Opening,
     [OPENING_S]     = libvlc_Opening,