Quell config-save warning when we're only trying to save history.
[dcpomatic.git] / 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>();
                }
        }