From: Jaroslav Kysela Date: Fri, 23 Oct 2020 10:05:56 +0000 (+0200) Subject: aplay: cosmetic code fix in xrun() X-Git-Tag: v1.2.5~104 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=986a1bd3d2eebd41a2925969826fca870b2cd330;p=alsa-utils.git aplay: cosmetic code fix in xrun() Signed-off-by: Jaroslav Kysela --- diff --git a/aplay/aplay.c b/aplay/aplay.c index a27220d..ae60988 100644 --- a/aplay/aplay.c +++ b/aplay/aplay.c @@ -1676,7 +1676,8 @@ static void xrun(void) prg_exit(EXIT_FAILURE); } return; /* ok, data should be accepted again */ - } if (snd_pcm_status_get_state(status) == SND_PCM_STATE_DRAINING) { + } + if (snd_pcm_status_get_state(status) == SND_PCM_STATE_DRAINING) { if (verbose) { fprintf(stderr, _("Status(DRAINING):\n")); snd_pcm_status_dump(status, log);