diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-11 21:31:31 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-12 02:04:24 +0100 |
| commit | 5f2b089eefb1af9085f113fbd0b81f9da735e71c (patch) | |
| tree | a73203d577bc1299ee8bb231ed2766a4918f0b36 | |
| parent | 1eb650c078505c82e5b6030425f0808e63f06f44 (diff) | |
Add another assert.
| -rw-r--r-- | src/tools/dcpomatic_player.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/dcpomatic_player.cc b/src/tools/dcpomatic_player.cc index 78a541b82..1f6e80dbe 100644 --- a/src/tools/dcpomatic_player.cc +++ b/src/tools/dcpomatic_player.cc @@ -722,6 +722,7 @@ private: if (r == wxID_OK) { DCPOMATIC_ASSERT(_film); + DCPOMATIC_ASSERT(!_film->content().empty()); auto dcp = std::dynamic_pointer_cast<DCPContent>(_film->content().front()); DCPOMATIC_ASSERT(dcp); dcp->add_ov (wx_to_std(c->GetPath())); |
