summaryrefslogtreecommitdiff
path: root/src/lib/content_subtitle.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/content_subtitle.cc')
-rw-r--r--src/lib/content_subtitle.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/content_subtitle.cc b/src/lib/content_subtitle.cc
index 93e0677bb..39becf943 100644
--- a/src/lib/content_subtitle.cc
+++ b/src/lib/content_subtitle.cc
@@ -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)