Fix OS X build. v2.13.48
authorCarl Hetherington <cth@carlh.net>
Tue, 4 Sep 2018 13:12:12 +0000 (14:12 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 4 Sep 2018 13:12:12 +0000 (14:12 +0100)
src/lib/decoder_factory.cc

index b9baefa807e52c970c36d6f52fa9e8ad98d4c5b7..df23ef6f604cb5d476a90f90231a4f9cdeea5c76 100644 (file)
@@ -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>();
                }
        }