pcm: Fixed typo (wrong deleted line) instroduced in the minperiodsize patch
authorJaroslav Kysela <perex@perex.cz>
Thu, 12 Aug 2010 06:21:26 +0000 (08:21 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 12 Aug 2010 06:21:26 +0000 (08:21 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>

src/pcm/pcm_params.c

index c7c3b97..3a90bcd 100644 (file)
@@ -1101,6 +1101,7 @@ static int snd_pcm_hw_params_choose(snd_pcm_t *pcm, snd_pcm_hw_params_t *params)
        if (err < 0)
                return err;
        err = snd_pcm_hw_param_set_first(pcm, params, SND_PCM_HW_PARAM_RATE, NULL, 0);
+       if (err < 0)
                return err;
        if (pcm->minperiodtime > 0) {
                unsigned int min, max;