Hand-apply d849d411cff28ef5453085791d0b4d7cd73bd070 from master; replace all assert...
[dcpomatic.git] / src / lib / content_subtitle.cc
index 93e0677bb7c3c49031555af796a3425ae49ccd4c..39becf943c7dfa84053ccbba39f2b7bf82f964d8 100644 (file)
@@ -23,7 +23,7 @@ ContentTimePeriod
 ContentTextSubtitle::period () const
 {
        /* XXX: assuming we have some subs and they are all at the same time */
-       assert (!subs.empty ());
+       DCPOMATIC_ASSERT (!subs.empty ());
        return ContentTimePeriod (
                ContentTime::from_seconds (double (subs.front().in().to_ticks()) / 250),
                ContentTime::from_seconds (double (subs.front().out().to_ticks()) / 250)