You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
ffplay: make next_nb_channels[] static const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
2
ffplay.c
2
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;
|
SDL_AudioSpec wanted_spec, spec;
|
||||||
const char *env;
|
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");
|
env = SDL_getenv("SDL_AUDIO_CHANNELS");
|
||||||
if (env) {
|
if (env) {
|
||||||
|
Reference in New Issue
Block a user