summaryrefslogtreecommitdiff
path: root/src/lib/subtitle.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-01-26 22:51:54 +0000
committerCarl Hetherington <cth@carlh.net>2013-01-26 22:51:54 +0000
commitb1873c51b2e8265a01a8f0eced7fc3465f1677dc (patch)
treed0eb1d779f6f9e145e57693162af06a2390e84fb /src/lib/subtitle.cc
parent494b6ee180e531358bab39e72f6123e90f9314e5 (diff)
parentd641aee73077e93ca17b30acd5b9ed82f1e14cb9 (diff)
Merge master into direct-mxf.
Diffstat (limited to 'src/lib/subtitle.cc')
-rw-r--r--src/lib/subtitle.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/subtitle.cc b/src/lib/subtitle.cc
index 3754e5acf..bd5f0c879 100644
--- a/src/lib/subtitle.cc
+++ b/src/lib/subtitle.cc
@@ -35,7 +35,7 @@ using libdcp::Size;
*/
TimedSubtitle::TimedSubtitle (AVSubtitle const & sub)
{
- assert (sub.rects > 0);
+ assert (sub.num_rects > 0);
/* Subtitle PTS in seconds (within the source, not taking into account any of the
source that we may have chopped off for the DCP)