summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-04-25 15:46:14 +0000
committerCarl Hetherington <cth@carlh.net>2019-04-25 15:46:14 +0000
commit399e2adaf4023a541d4b3792c8fde0a923c55ab1 (patch)
tree8b7eeb7fbb5469b00e669735e5266b44b603b53d /src
parent29b0148143e602699c7ba161477d5d800607ca4b (diff)
Throw a different exception when an unrecognised LabelSetType is found.v1.6.7
Diffstat (limited to 'src')
-rw-r--r--src/mxf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mxf.cc b/src/mxf.cc
index 008dbc2a..6c0b3edb 100644
--- a/src/mxf.cc
+++ b/src/mxf.cc
@@ -135,7 +135,7 @@ MXF::read_writer_info (ASDCP::WriterInfo const & info)
_standard = SMPTE;
break;
default:
- DCP_ASSERT (false);
+ throw DCPReadError ("Unrecognised label set type in MXF");
}
_metadata.read (info);