summaryrefslogtreecommitdiff
path: root/src/mxf.cc
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 21:46:06 +0100
commit23b87f5e8a0fd0f351e4ae34263beb6c5fd1981a (patch)
treede81847c74458f1d617cd715dbf4a6fc5490d562 /src/mxf.cc
parentd9d117d8dd56322fed12f8e12c574cf08fe22500 (diff)
Throw a different exception when an unrecognised LabelSetType is found.
Diffstat (limited to 'src/mxf.cc')
-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);