From feea01f6109e00fddaacc9ae23f4cf6f55b4cabf Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 24 Jan 2013 15:15:16 +0000 Subject: Fix incorrect assert(). --- src/lib/subtitle.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/subtitle.cc b/src/lib/subtitle.cc index 8a9998d6a..b4ac14285 100644 --- a/src/lib/subtitle.cc +++ b/src/lib/subtitle.cc @@ -34,7 +34,7 @@ using namespace boost; */ 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) -- cgit v1.2.3