diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-09-04 23:04:10 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-09-04 23:04:10 +0100 |
| commit | 4227af1dc74eeb042f6b7bb4a02df2bf89225b0d (patch) | |
| tree | 3de70cf8c1c7442a8306b1c53ff32e4fc630f3d7 /src/lib/decoder_factory.cc | |
| parent | 33e4b489cf5077058dc7b679a75df708d444cfd0 (diff) | |
| parent | 4a7ece0ebcb4cc8515822fdb6c9baec0394c935b (diff) | |
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Diffstat (limited to 'src/lib/decoder_factory.cc')
| -rw-r--r-- | src/lib/decoder_factory.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/decoder_factory.cc b/src/lib/decoder_factory.cc index b9baefa80..df23ef6f6 100644 --- a/src/lib/decoder_factory.cc +++ b/src/lib/decoder_factory.cc @@ -50,7 +50,7 @@ decoder_factory (shared_ptr<const Content> content, shared_ptr<Log> log, bool fa return shared_ptr<Decoder> (new DCPDecoder (dc, log, fast)); } catch (KDMError& e) { /* This will be found and reported to the user when the content is examined */ - return 0; + return shared_ptr<Decoder>(); } } |
