mirror of https://github.com/mpv-player/mpv
fix
ao_alsa.c:115: warning: suggest parentheses around assignment used as truth value git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17098 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
cb116e1b6e
commit
637ef4ab74
|
@ -112,7 +112,7 @@ static int control(int cmd, void *arg)
|
|||
char *test_mix_index;
|
||||
|
||||
mix_name = strdup(mixer_channel);
|
||||
if (test_mix_index = strchr(mix_name, ',')){
|
||||
if ((test_mix_index = strchr(mix_name, ','))){
|
||||
*test_mix_index = 0;
|
||||
test_mix_index++;
|
||||
mix_index = strtol(test_mix_index, &test_mix_index, 0);
|
||||
|
|
Loading…
Reference in New Issue