diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-24 15:15:16 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-24 15:15:16 +0000 |
| commit | feea01f6109e00fddaacc9ae23f4cf6f55b4cabf (patch) | |
| tree | 29944782866c05ff4c1831017a9b5a453904926c /src/lib | |
| parent | 742f0fb10fb38a73d517e2a8870cd03ebefefa20 (diff) | |
Fix incorrect assert().
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/subtitle.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
