From 8df78decb4e01b579bbbd1f479d187adf34fc030 Mon Sep 17 00:00:00 2001 From: milla Date: Tue, 15 Jun 2021 13:12:01 +0200 Subject: Fix indentation Use smart pointer for Reader Don't define fileReader constructor and destructor twice (win and posix) but just once as their implementation is the same --- src/AS_DCP_MXF.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/AS_DCP_MXF.cpp') diff --git a/src/AS_DCP_MXF.cpp b/src/AS_DCP_MXF.cpp index 9f6ca3f..5e51613 100755 --- a/src/AS_DCP_MXF.cpp +++ b/src/AS_DCP_MXF.cpp @@ -285,11 +285,10 @@ ASDCP::EssenceType(const std::string& filename, EssenceType_t& type, const Kumu: else { DefaultLogSink().Error("Unsupported MXF Operational Pattern.\n"); - return RESULT_FORMAT; + return RESULT_FORMAT; } } - return result; } -- cgit v1.2.3