Commit 1ea4a619 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Move ppsz_input_state[] to modules/control/rc.c because it is the only user of...

Move ppsz_input_state[] to modules/control/rc.c because it is the only user of this variable. This silences a lot of warning messages.
parent 698d753f
...@@ -544,8 +544,6 @@ enum input_state_e ...@@ -544,8 +544,6 @@ enum input_state_e
ERROR_S ERROR_S
}; };
static const char *ppsz_input_state[] = { N_("Initializing"), N_("Opening"), N_("Buffer"), N_("Play"), N_("Pause"), N_("Stop"), N_("Error") };
/* "rate" default, min/max /* "rate" default, min/max
* A rate below 1000 plays the movie faster, * A rate below 1000 plays the movie faster,
* A rate above 1000 plays the movie slower. * A rate above 1000 plays the movie slower.
......
...@@ -66,6 +66,8 @@ ...@@ -66,6 +66,8 @@
#define MAX_LINE_LENGTH 256 #define MAX_LINE_LENGTH 256
#define STATUS_CHANGE "status change: " #define STATUS_CHANGE "status change: "
static const char *ppsz_input_state[] = { N_("Initializing"), N_("Opening"), N_("Buffer"), N_("Play"), N_("Pause"), N_("Stop"), N_("Error") };
/***************************************************************************** /*****************************************************************************
* Local prototypes * Local prototypes
*****************************************************************************/ *****************************************************************************/
......
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