From 23b87f5e8a0fd0f351e4ae34263beb6c5fd1981a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 25 Apr 2019 15:46:14 +0000 Subject: Throw a different exception when an unrecognised LabelSetType is found. --- src/mxf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3