diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-03-23 03:02:49 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-03-23 03:02:49 +0000 |
commit | fc84fa54fccbee2e9cf3fe4fbaa4089500c24ab1 (patch) | |
tree | 7d8615e78a78e87e78711f4514f98a415aa2ea24 /src/player.c | |
parent | 7874a003e9084b0dd763b1e9deeb1c0bc0a0d52b (diff) | |
download | mpd-fc84fa54fccbee2e9cf3fe4fbaa4089500c24ab1.tar.gz mpd-fc84fa54fccbee2e9cf3fe4fbaa4089500c24ab1.tar.xz mpd-fc84fa54fccbee2e9cf3fe4fbaa4089500c24ab1.zip |
fix some gcc-2.95 errors
git-svn-id: https://svn.musicpd.org/mpd/trunk@414 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/player.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/player.c b/src/player.c index ea7d3723b..1685837fa 100644 --- a/src/player.c +++ b/src/player.c @@ -172,9 +172,10 @@ int playerGetDecodeType(char * utf8file) { int playerPlay(FILE * fp, char * utf8file) { PlayerControl * pc = &(getPlayerData()->playerControl); - if(fp==NULL) fp = stderr; int decodeType; + if(fp==NULL) fp = stderr; + if(playerStop(fp)<0) return -1; { |