diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-10-01 15:04:05 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-10-01 21:32:27 +0100 |
| commit | 765f90586c498860aa687e2b0cd6cedf1e0b1bf0 (patch) | |
| tree | 878977c189d2aaac3c40c8f882c9bc47b10171fd /src/lib | |
| parent | 1274b68651164289ad837c07364d70d101d87c51 (diff) | |
Fix erroneous optional dereference.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/config.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc index a51c775a3..64d794b36 100644 --- a/src/lib/config.cc +++ b/src/lib/config.cc @@ -232,7 +232,7 @@ Config::read () _check_for_test_updates = f.optional_bool_child("CheckForTestUpdates").get_value_or (false); _maximum_j2k_bandwidth = f.optional_number_child<int> ("MaximumJ2KBandwidth").get_value_or (250000000); - _allow_any_dcp_frame_rate = f.optional_bool_child ("AllowAnyDCPFrameRate"); + _allow_any_dcp_frame_rate = f.optional_bool_child ("AllowAnyDCPFrameRate").get_value_or (false); _log_types = f.optional_number_child<int> ("LogTypes").get_value_or (Log::TYPE_GENERAL | Log::TYPE_WARNING | Log::TYPE_ERROR); _automatic_audio_analysis = f.optional_bool_child ("AutomaticAudioAnalysis").get_value_or (false); |
