aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/ProxyInputStream.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-19 11:56:12 +0200
committerMax Kellermann <max@duempel.org>2014-08-19 21:00:50 +0200
commit4265e71d6f8334c77bef8ccb26d6f0db8b25a53e (patch)
tree6b3c4621dd96ce8c9d880db12cbaa11f43d59cd3 /src/input/ProxyInputStream.cxx
parentf66a72c66bfe001c7bb6952dfceedc740d2b7154 (diff)
downloadmpd-4265e71d6f8334c77bef8ccb26d6f0db8b25a53e.tar.gz
mpd-4265e71d6f8334c77bef8ccb26d6f0db8b25a53e.tar.xz
mpd-4265e71d6f8334c77bef8ccb26d6f0db8b25a53e.zip
InputStream: add constant UNKNOWN_SIZE
Diffstat (limited to 'src/input/ProxyInputStream.cxx')
-rw-r--r--src/input/ProxyInputStream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/ProxyInputStream.cxx b/src/input/ProxyInputStream.cxx
index 67b2c3338..74a272f6a 100644
--- a/src/input/ProxyInputStream.cxx
+++ b/src/input/ProxyInputStream.cxx
@@ -42,7 +42,7 @@ ProxyInputStream::CopyAttributes()
size = input.KnownSize()
? input.GetSize()
- : -1;
+ : UNKNOWN_SIZE;
seekable = input.IsSeekable();
SetReady();