Fix crash when opening non-cached audio

This commit is contained in:
Thomas Goyne 2013-06-12 14:13:35 -07:00
parent 3306ee126d
commit 0acec9c874
1 changed files with 2 additions and 2 deletions

View File

@ -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();