decoder/API: decoder_open_uri() can throw StopDecoder
This commit is contained in:
@@ -275,7 +275,7 @@ decoder_open_uri(Decoder &decoder, const char *uri)
|
||||
return is;
|
||||
|
||||
if (dc.command == DecoderCommand::STOP)
|
||||
return nullptr;
|
||||
throw StopDecoder();
|
||||
|
||||
cond.wait(mutex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user