aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs/audioOutput_shout.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2005-03-05 21:09:32 +0000
committerWarren Dukes <warren.dukes@gmail.com>2005-03-05 21:09:32 +0000
commit4b016cafa1e44294605467dd95efb421b96574a5 (patch)
treeb569ef3abb2fd7a3820ab923e755e96ddeb09b09 /src/audioOutputs/audioOutput_shout.c
parent8e634b8237d0a3508fe1cc9683ae417aef73fd5a (diff)
downloadmpd-4b016cafa1e44294605467dd95efb421b96574a5.tar.gz
mpd-4b016cafa1e44294605467dd95efb421b96574a5.tar.xz
mpd-4b016cafa1e44294605467dd95efb421b96574a5.zip
wee bit of code cleanup
git-svn-id: https://svn.musicpd.org/mpd/trunk@3021 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/audioOutputs/audioOutput_shout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audioOutputs/audioOutput_shout.c b/src/audioOutputs/audioOutput_shout.c
index 16b27947e..9a54eb8a9 100644
--- a/src/audioOutputs/audioOutput_shout.c
+++ b/src/audioOutputs/audioOutput_shout.c
@@ -320,7 +320,7 @@ static void finishEncoder(ShoutData * sd) {
}
static int flushEncoder(ShoutData * sd) {
- return !(ogg_stream_pageout(&sd->os, &sd->og) <= 0 );
+ return (ogg_stream_pageout(&sd->os, &sd->og) > 0);
}
static void clearEncoder(ShoutData * sd) {