diff options
author | Anssi Hannula <anssi.hannula@iki.fi> | 2010-08-02 18:50:08 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-08-02 18:21:05 +0200 |
commit | db7545a077eecee0a8c32759ee77340f9e7c9d15 (patch) | |
tree | 7bc5de11a0f178ee8ccda9335329b96f52b6efc8 | |
parent | 3f589c9369a7514850e2f5afe4e9d486708f12ef (diff) | |
download | alsa-lib-db7545a077eecee0a8c32759ee77340f9e7c9d15.tar.gz |
pcm_plug: fix comparison always true
Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | src/pcm/pcm_plug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm/pcm_plug.c b/src/pcm/pcm_plug.c index 967cf46c..e9d29236 100644 --- a/src/pcm/pcm_plug.c +++ b/src/pcm/pcm_plug.c @@ -485,7 +485,7 @@ static int snd_pcm_plug_change_format(snd_pcm_t *pcm, snd_pcm_t **new, snd_pcm_p /* No conversion is needed */ if (clt->format == slv->format && clt->rate == slv->rate && - clt->channels == clt->channels) + clt->channels == slv->channels) return 0; if (snd_pcm_format_linear(slv->format)) { |