InputStream: add constant UNKNOWN_SIZE

This commit is contained in:
Max Kellermann
2014-08-19 11:56:12 +02:00
parent f66a72c66b
commit 4265e71d6f
2 changed files with 6 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ ProxyInputStream::CopyAttributes()
size = input.KnownSize()
? input.GetSize()
: -1;
: UNKNOWN_SIZE;
seekable = input.IsSeekable();
SetReady();