From 1eeba876ce09cedfa4c779bf3554372c01dc34c5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 1 Apr 2014 21:44:06 +0100 Subject: Various small fixes. --- src/lib/audio_decoder.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/audio_decoder.cc') diff --git a/src/lib/audio_decoder.cc b/src/lib/audio_decoder.cc index 616abf846..9606c378c 100644 --- a/src/lib/audio_decoder.cc +++ b/src/lib/audio_decoder.cc @@ -36,6 +36,7 @@ using boost::shared_ptr; AudioDecoder::AudioDecoder (shared_ptr content) : _audio_content (content) + , _decoded_audio (shared_ptr (new AudioBuffers (content->audio_channels(), 0)), 0) { if (content->output_audio_frame_rate() != content->content_audio_frame_rate() && content->audio_channels ()) { _resampler.reset (new Resampler (content->content_audio_frame_rate(), content->output_audio_frame_rate(), content->audio_channels ())); -- cgit v1.2.3