summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-09-04 14:12:12 +0100
committerCarl Hetherington <cth@carlh.net>2018-09-04 14:12:12 +0100
commit4a7ece0ebcb4cc8515822fdb6c9baec0394c935b (patch)
treea6df551b03ccfe2bb32289a501b543915e6a7b75 /src
parent5a392ecdeb7fe37ef10eade9b484665c448caf81 (diff)
Fix OS X build.v2.13.48
Diffstat (limited to 'src')
-rw-r--r--src/lib/decoder_factory.cc2
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>();
}
}