summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-04-07 23:51:19 +0200
committerCarl Hetherington <cth@carlh.net>2022-04-28 23:40:31 +0200
commitfb0e1cda0143bbf02c4ba6f0e86b7bb2530115a9 (patch)
treeca97077c4151b141a76eb9f8009f1ad30828b6ef
parentc095f2afe42a61919a1ef6464d2d633a826ab69d (diff)
Cleanup: tidying.
-rw-r--r--src/lib/video_content.cc2
-rw-r--r--src/lib/video_examiner.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc
index e52444678..2bac01803 100644
--- a/src/lib/video_content.cc
+++ b/src/lib/video_content.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2013-2021 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2013-2022 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
diff --git a/src/lib/video_examiner.h b/src/lib/video_examiner.h
index c56530448..86dd9345a 100644
--- a/src/lib/video_examiner.h
+++ b/src/lib/video_examiner.h
@@ -48,7 +48,7 @@ public:
virtual Frame video_length () const = 0;
/** @return video sample aspect ratio (if known); must not be called if has_video() == false */
virtual boost::optional<double> sample_aspect_ratio () const {
- return boost::optional<double> ();
+ return {};
}
/** @return true if this video is in YUV; must not be called if has_video() == false */
virtual bool yuv () const = 0;