diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-21 01:15:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-21 01:15:32 +0100 |
| commit | e60bb3e51bd1508b149e6b8f6608f09b5196ae26 (patch) | |
| tree | a7a5b937c9ae138d4eebca8d5130d308bf9ae420 /test/ffmpeg_audio_test.cc | |
| parent | f07d5125a7b609320682689abe40781f096ca25e (diff) | |
No-op: remove all trailing whitespace.
Diffstat (limited to 'test/ffmpeg_audio_test.cc')
| -rw-r--r-- | test/ffmpeg_audio_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ffmpeg_audio_test.cc b/test/ffmpeg_audio_test.cc index 2c34c437d..aac32edc0 100644 --- a/test/ffmpeg_audio_test.cc +++ b/test/ffmpeg_audio_test.cc @@ -47,7 +47,7 @@ BOOST_AUTO_TEST_CASE (ffmpeg_audio_test) film->examine_and_add_content (c); wait_for_jobs (); - + c->set_scale (VideoContentScale (Ratio::from_id ("185"))); film->set_container (Ratio::from_id ("185")); @@ -76,7 +76,7 @@ BOOST_AUTO_TEST_CASE (ffmpeg_audio_test) while (n < sound_asset->asset()->intrinsic_duration()) { shared_ptr<const dcp::SoundFrame> sound_frame = sound_asset->asset()->get_frame (frame++); uint8_t const * d = sound_frame->data (); - + for (int i = 0; i < sound_frame->size(); i += (3 * sound_asset->asset()->channels())) { if (sound_asset->asset()->channels() > 0) { @@ -90,7 +90,7 @@ BOOST_AUTO_TEST_CASE (ffmpeg_audio_test) int const sample = d[i + 2] | (d[i + 3] << 8); BOOST_CHECK_EQUAL (sample, 0); } - + if (sound_asset->asset()->channels() > 2) { /* Mono input so it will appear on centre */ int const sample = d[i + 7] | (d[i + 8] << 8); |
