forked from mia/Aegisub
Fix crash when opening non-cached audio
This commit is contained in:
parent
3306ee126d
commit
0acec9c874
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue