summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-24 14:27:16 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-08-24 19:53:11 +0200
commit5c6a58746b415462f13c409aacb9041c98ab9ea0 (patch)
tree7b0607dcde1b6a2bc0733305467143e92dc2b78e /ffplay.c
parent7495186fd49f6c9e701e387c2669e3f39b8900ab (diff)
downloadffmpeg-5c6a58746b415462f13c409aacb9041c98ab9ea0.tar.gz
ffplay: make next_nb_channels[] static const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index 26a145277e..4d89c02b2a 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -2406,7 +2406,7 @@ static int audio_open(void *opaque, int64_t wanted_channel_layout, int wanted_nb
{
SDL_AudioSpec wanted_spec, spec;
const char *env;
- const int next_nb_channels[] = {0, 0, 1, 6, 2, 6, 4, 6};
+ static const int next_nb_channels[] = {0, 0, 1, 6, 2, 6, 4, 6};
env = SDL_getenv("SDL_AUDIO_CHANNELS");
if (env) {