test/run_decoder: use InputStream::OpenReady() instead of InputStream::Open()
This commit is contained in:
parent
e29fc62b68
commit
4a5cc9f610
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user