diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-10-14 16:59:17 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-10-15 22:33:26 +0200 |
| commit | 4be14646eeb80bf51a6a86bf708446179a0416e9 (patch) | |
| tree | 35ccec4e5d8c6714c7deff4aa5d7bfcc1b06976e /test | |
| parent | 888136da0eb19d21e09d7dd246aa692e8df23119 (diff) | |
Cleanup: use a make_shared.
Diffstat (limited to 'test')
| -rw-r--r-- | test/frame_rate_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/frame_rate_test.cc b/test/frame_rate_test.cc index d87f7bfc5..f38b65450 100644 --- a/test/frame_rate_test.cc +++ b/test/frame_rate_test.cc @@ -250,7 +250,7 @@ BOOST_AUTO_TEST_CASE (audio_sampling_rate_test) Config::instance()->set_allowed_dcp_frame_rates (afr); auto stream = std::make_shared<FFmpegAudioStream>("foo", 0, 0, 0, 0, 0); - content->audio.reset (new AudioContent (content.get())); + content->audio = std::make_shared<AudioContent>(content.get()); content->audio->add_stream (stream); content->_video_frame_rate = 24; film->set_video_frame_rate (24); |
