diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-12-20 23:37:57 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-12-20 23:37:57 +0000 |
| commit | 4dbc6ef917aeceb906b1ef1caf6911033e7e2c54 (patch) | |
| tree | 203675d00d5cc004be6205218f835b6d7a10e925 /src/lib/subrip_content.cc | |
| parent | ab32f60c2c9f2ad01dc8d96dc375df256dba0c41 (diff) | |
Hand-apply d849d411cff28ef5453085791d0b4d7cd73bd070 from master; replace all assert()s with thrown exceptions.
Diffstat (limited to 'src/lib/subrip_content.cc')
| -rw-r--r-- | src/lib/subrip_content.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/subrip_content.cc b/src/lib/subrip_content.cc index 992947a2d..f4dd427f3 100644 --- a/src/lib/subrip_content.cc +++ b/src/lib/subrip_content.cc @@ -56,7 +56,7 @@ SubRipContent::examine (boost::shared_ptr<Job> job, bool calculate_digest) SubRip s (shared_from_this ()); shared_ptr<const Film> film = _film.lock (); - assert (film); + DCPOMATIC_ASSERT (film); DCPTime len (s.length (), film->active_frame_rate_change (position ())); @@ -80,7 +80,7 @@ SubRipContent::technical_summary () const string SubRipContent::information () const { - + } void |
