DCPReadError -> ReadError in libdcp.
[dcpomatic.git] / src / lib / video_mxf_content.cc
index 436046890bb9c709497450ac6d1e5de7d070bed0..0c905a624219eec3ce07527583ac0d6fd6065d4a 100644 (file)
@@ -35,6 +35,7 @@
 using std::list;
 using std::string;
 using boost::shared_ptr;
+using namespace dcpomatic;
 
 VideoMXFContent::VideoMXFContent (boost::filesystem::path path)
        : Content (path)
@@ -58,7 +59,7 @@ VideoMXFContent::valid_mxf (boost::filesystem::path path)
                return true;
        } catch (dcp::MXFFileError& e) {
 
-       } catch (dcp::DCPReadError& e) {
+       } catch (dcp::ReadError& e) {
 
        }
 
@@ -68,7 +69,7 @@ VideoMXFContent::valid_mxf (boost::filesystem::path path)
                return true;
        } catch (dcp::MXFFileError& e) {
 
-       } catch (dcp::DCPReadError& e) {
+       } catch (dcp::ReadError& e) {
 
        }