summaryrefslogtreecommitdiff
path: root/test/audio_decoder_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/audio_decoder_test.cc')
-rw-r--r--test/audio_decoder_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/audio_decoder_test.cc b/test/audio_decoder_test.cc
index 73d515492..7dba67b5a 100644
--- a/test/audio_decoder_test.cc
+++ b/test/audio_decoder_test.cc
@@ -42,7 +42,7 @@ public:
: Content (film)
{
audio.reset (new AudioContent (this, film));
- audio->set_stream (AudioStreamPtr (new AudioStream (48000, 2)));
+ audio->set_stream (AudioStreamPtr (new AudioStream (48000, audio_length(), 2)));
}
std::string summary () const {