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 /src/lib/dcp_examiner.cc | |
| parent | f07d5125a7b609320682689abe40781f096ca25e (diff) | |
No-op: remove all trailing whitespace.
Diffstat (limited to 'src/lib/dcp_examiner.cc')
| -rw-r--r-- | src/lib/dcp_examiner.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/dcp_examiner.cc b/src/lib/dcp_examiner.cc index 21ffeda29..1dd469206 100644 --- a/src/lib/dcp_examiner.cc +++ b/src/lib/dcp_examiner.cc @@ -83,7 +83,7 @@ DCPExaminer::DCPExaminer (shared_ptr<const DCPContent> content) _video_length += (*i)->main_picture()->duration(); } - + if ((*i)->main_sound ()) { shared_ptr<dcp::SoundAsset> asset = (*i)->main_sound()->asset (); @@ -109,20 +109,20 @@ DCPExaminer::DCPExaminer (shared_ptr<const DCPContent> content) _encrypted = dcp.encrypted (); _kdm_valid = true; - + /* Check that we can read the first picture frame */ try { if (!dcp.cpls().empty () && !dcp.cpls().front()->reels().empty ()) { shared_ptr<dcp::PictureAsset> asset = dcp.cpls().front()->reels().front()->main_picture()->asset (); shared_ptr<dcp::MonoPictureAsset> mono = dynamic_pointer_cast<dcp::MonoPictureAsset> (asset); shared_ptr<dcp::StereoPictureAsset> stereo = dynamic_pointer_cast<dcp::StereoPictureAsset> (asset); - + if (mono) { mono->get_frame(0)->xyz_image (); } else { stereo->get_frame(0)->xyz_image (dcp::EYE_LEFT); } - + } } catch (dcp::DCPReadError& e) { _kdm_valid = false; |
