diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-12-07 21:17:58 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-12-07 21:17:58 +0000 |
| commit | b6a2b6d23998bc3acd2a91eafcfda75778e3d6bc (patch) | |
| tree | ff519614651c43b24de77bedc562869edaf35b09 /src | |
| parent | 3a07293ae8636f771860f0f75595911c5bf91d65 (diff) | |
Fix crash when using kdm_cli and specifying a certificate with no screen/cinema details.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/film.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc index 61d9eee91..cbf08aa49 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -1357,8 +1357,8 @@ Film::make_kdms ( i->recipient.get(), i->trusted_device_thumbprints(), cpl_file, - dcp::LocalTime (from, i->cinema->utc_offset_hour(), i->cinema->utc_offset_minute()), - dcp::LocalTime (until, i->cinema->utc_offset_hour(), i->cinema->utc_offset_minute()), + dcp::LocalTime (from, i->cinema ? i->cinema->utc_offset_hour() : 0, i->cinema ? i->cinema->utc_offset_minute() : 0), + dcp::LocalTime (until, i->cinema ? i->cinema->utc_offset_hour() : 0, i->cinema ? i->cinema->utc_offset_minute() : 0), formulation, disable_forensic_marking_picture, disable_forensic_marking_audio |
