mirror of https://github.com/odrling/Aegisub
Add missing throw statement
Originally committed to SVN as r4720.
This commit is contained in:
parent
caf81157f1
commit
596ad4d65d
|
@ -205,7 +205,7 @@ AudioProvider *CreateConvertAudioProvider(AudioProvider *source_provider) {
|
|||
{
|
||||
// @todo add support for more bitdepths (i.e. 24- and 32-bit audio)
|
||||
if (provider->GetBytesPerSample() > 2)
|
||||
AudioOpenError("Audio format converter: audio with bitdepths greater than 16 bits/sample is currently unsupported");
|
||||
throw AudioOpenError("Audio format converter: audio with bitdepths greater than 16 bits/sample is currently unsupported");
|
||||
|
||||
provider = new ConvertAudioProvider(provider);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue