diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-05-19 03:23:31 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-05-19 03:23:31 +0000 |
commit | c1cd2668b24aba8bb3d83554b800a0b16f57002b (patch) | |
tree | 5ab81918572102150e194b7352450576d75efd14 /src/mp3_decode.c | |
parent | ec3a9b66fe42d0bf029cd1e6073a6d9e94f5e397 (diff) | |
download | mpd-c1cd2668b24aba8bb3d83554b800a0b16f57002b.tar.gz mpd-c1cd2668b24aba8bb3d83554b800a0b16f57002b.tar.xz mpd-c1cd2668b24aba8bb3d83554b800a0b16f57002b.zip |
bug fixy poo s/1/0/
and mark in decoderControl if we are seekable
git-svn-id: https://svn.musicpd.org/mpd/trunk@1078 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/mp3_decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mp3_decode.c b/src/mp3_decode.c index 7ff63b536..23bed6bac 100644 --- a/src/mp3_decode.c +++ b/src/mp3_decode.c @@ -189,7 +189,7 @@ int fillMp3InputBuffer(mp3DecodeData * data) { readSize); if(readed <= 0 && inputStreamAtEOF(data->inStream)) return -1; /* sleep for a fraction of a second! */ - else if(readed == 0) my_usleep(10); + else if(readed <= 0) my_usleep(10000); mad_stream_buffer(&data->stream,data->readBuffer,readed+remaining); (data->stream).error = 0; |