Commit 9a9b2af4 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

control/media_instance.c: Cons-ify the conversion table.

parent 54524f5e
...@@ -667,7 +667,7 @@ float libvlc_media_instance_get_rate( ...@@ -667,7 +667,7 @@ float libvlc_media_instance_get_rate(
return (float)1000.0f/val.i_int; 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, [INIT_S] = libvlc_Opening,
[OPENING_S] = libvlc_Opening, [OPENING_S] = libvlc_Opening,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment