X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fsubtitle.cc;fp=src%2Flib%2Fsubtitle.cc;h=bd5f0c87969cc76b473c4af506c0c88e913ec235;hb=b1873c51b2e8265a01a8f0eced7fc3465f1677dc;hp=3754e5acf012c9a8dfe921fab46bb02440f397ef;hpb=494b6ee180e531358bab39e72f6123e90f9314e5;p=dcpomatic.git 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)