mirror of https://github.com/odrling/Aegisub
Fix crash when opening non-cached audio
This commit is contained in:
parent
3306ee126d
commit
0acec9c874
|
@ -20,8 +20,8 @@
|
|||
|
||||
#include "audio_provider_lock.h"
|
||||
|
||||
LockAudioProvider::LockAudioProvider(std::unique_ptr<AudioProvider>&& source)
|
||||
: source(std::move(source))
|
||||
LockAudioProvider::LockAudioProvider(std::unique_ptr<AudioProvider>&& src)
|
||||
: source(std::move(src))
|
||||
{
|
||||
channels = source->GetChannels();
|
||||
num_samples = source->GetNumSamples();
|
||||
|
|
Loading…
Reference in New Issue