test/run_decoder: use InputStream::OpenReady() instead of InputStream::Open()

This commit is contained in:
Max Kellermann 2014-03-16 09:40:07 +01:00
parent e29fc62b68
commit 4a5cc9f610

View File

@ -218,7 +218,7 @@ int main(int argc, char **argv)
Cond cond;
InputStream *is =
InputStream::Open(decoder.uri, mutex, cond, error);
InputStream::OpenReady(decoder.uri, mutex, cond, error);
if (is == NULL) {
if (error.IsDefined())
LogError(error);