decoder/API: add class StopDecoder

This commit is contained in:
Max Kellermann
2016-05-13 13:12:21 +02:00
parent 662e477028
commit 0709878b4c
3 changed files with 10 additions and 1 deletions

View File

@@ -310,7 +310,7 @@ MPDOpusDecoder::HandleEOS()
return decoder_get_command(decoder);
}
return DecoderCommand::STOP;
throw StopDecoder();
}
inline DecoderCommand