projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ffc3e2
)
Fix crash.
author
Carl Hetherington
<cth@carlh.net>
Mon, 5 Nov 2012 10:49:40 +0000
(10:49 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 5 Nov 2012 10:49:40 +0000
(10:49 +0000)
src/lib/decoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/decoder.cc
b/src/lib/decoder.cc
index 347c5dbbb909521f1349f346dce7922c73cc5622..c9d8f063a3ea27e97bece3158cd3eba82c3969a5 100644
(file)
--- 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());
}
}