diff options
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/dcp_content.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc index 70914b39c..18f88b3d3 100644 --- a/src/lib/dcp_content.cc +++ b/src/lib/dcp_content.cc @@ -146,7 +146,9 @@ DCPContent::examine (shared_ptr<Job> job) string const old_name = name (); bool had_subtitles = static_cast<bool> (subtitle); - job->set_progress_unknown (); + if (job) { + job->set_progress_unknown (); + } Content::examine (job); shared_ptr<DCPExaminer> examiner (new DCPExaminer (shared_from_this ())); |
