diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-12-28 01:15:24 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-12-28 01:15:24 +0000 |
| commit | ea81a192a65a03b664dac61de21e06cea7aa97a2 (patch) | |
| tree | f21447aeb9f24320ea6c1c4cb7a05539646bb85a /src/reel_picture_asset.cc | |
| parent | 75788462338b1b4f464d075465da3cb372c40004 (diff) | |
Purge assert() from src/, at least (not asdcplib).
Diffstat (limited to 'src/reel_picture_asset.cc')
| -rw-r--r-- | src/reel_picture_asset.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/reel_picture_asset.cc b/src/reel_picture_asset.cc index 1fbd635b..5cf2b858 100644 --- a/src/reel_picture_asset.cc +++ b/src/reel_picture_asset.cc @@ -24,6 +24,7 @@ #include "content.h" #include "reel_picture_asset.h" #include "picture_mxf.h" +#include "dcp_assert.h" #include "compose.hpp" #include <libcxml/cxml.h> #include <iomanip> @@ -78,7 +79,7 @@ ReelPictureAsset::write_to_cpl (xmlpp::Node* node, Standard standard) const ++i; } - assert (i != c.end ()); + DCP_ASSERT (i != c.end ()); (*i)->add_child ("FrameRate")->add_child_text (String::compose ("%1 %2", _frame_rate.numerator, _frame_rate.denominator)); if (standard == INTEROP) { |
