diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-11-05 10:49:40 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-11-05 10:49:40 +0000 |
| commit | a3c9e023a80acebd47eb551f1ca0f3b5ab542915 (patch) | |
| tree | 1d75221b11e38184dd732451d06281d5fe5de844 /src/lib/decoder.cc | |
| parent | 0ffc3e2b6b784eb8ae7e7581c3ab53b2913c0a78 (diff) | |
Fix crash.
Diffstat (limited to 'src/lib/decoder.cc')
| -rw-r--r-- | src/lib/decoder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/decoder.cc b/src/lib/decoder.cc index 347c5dbbb..c9d8f063a 100644 --- a/src/lib/decoder.cc +++ b/src/lib/decoder.cc @@ -141,7 +141,7 @@ Decoder::go () } while (pass () == false) { - if (_job) { + if (_job && _film->dcp_length()) { _job->set_progress (float (_video_frame) / _film->length().get()); } } |
