Fix error.
authorCarl Hetherington <cth@carlh.net>
Thu, 22 Jan 2015 19:58:52 +0000 (19:58 +0000)
committerCarl Hetherington <cth@carlh.net>
Thu, 22 Jan 2015 19:58:52 +0000 (19:58 +0000)
src/stereo_picture_asset.cc

index 47a41cc248da2e2673cd9b4ae27d114f6d3c9a9a..85921f9ccc73ed529a4c9190e3fea52f648359ba 100644 (file)
@@ -46,7 +46,7 @@ StereoPictureAsset::equals (shared_ptr<const Asset> other, EqualityOptions opt,
        ASDCP::JP2K::MXFSReader reader_B;
        r = reader_B.OpenRead (other->path().string().c_str());
        if (ASDCP_FAILURE (r)) {
-               boost::throw_exception (MXFFileError ("could not open MXF file for reading", path().string(), r));
+               boost::throw_exception (MXFFileError ("could not open MXF file for reading", other->path().string(), r));
        }
        
        ASDCP::JP2K::PictureDescriptor desc_A;