Re-enable seeking in http streams.

Fixing stopping mpd from block when trying to stop a ogg stream that is buffering.


git-svn-id: https://svn.musicpd.org/mpd/trunk@7053 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Qball Cow
2007-11-28 14:06:03 +00:00
parent 4447ce5065
commit e1571cc705
2 changed files with 4 additions and 7 deletions

View File

@@ -558,7 +558,7 @@ static int getHTTPHello(InputStream * inStream)
inStream->seekable = 0;
rc = atoi(cur + 9);
} else if (0 == strncmp(cur, "HTTP/1.1 ", 9)) {
inStream->seekable = 0;
inStream->seekable = 1;
rc = atoi(cur + 9);
} else if (0 == strncmp(cur, "ICY 200 OK", 10)) {
inStream->seekable = 0;