diff options
Diffstat (limited to 'src/MXF.cpp')
| -rwxr-xr-x | src/MXF.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/MXF.cpp b/src/MXF.cpp index af406ee..5cab95e 100755 --- a/src/MXF.cpp +++ b/src/MXF.cpp @@ -1742,6 +1742,12 @@ ASDCP::MXF::decode_mca_string(const std::string& s, const mca_label_map_t& label return false; } + if ( ! ul_is_an_mca_channel(i->second.ul) ) + { + DefaultLogSink().Error("Not a channel symbol: '%s'\n", symbol_buf.c_str()); + return false; + } + ASDCP::MXF::AudioChannelLabelSubDescriptor *channel_descr = new ASDCP::MXF::AudioChannelLabelSubDescriptor(dict); GenRandomValue(channel_descr->MCALinkID); |
