diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-22 11:59:49 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-22 11:59:49 +0100 |
| commit | 36a0d8394cf9beec96d7601bdbcbc5052a49ca15 (patch) | |
| tree | b09428e0e500d8786f3376bcf4c1f73f66ad3afe /src | |
| parent | daa5dc514b7265cfd2049ab576216cdafa493b3d (diff) | |
Fix crash.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/content_panel.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc index 5ef2d8356..40ffb9b2e 100644 --- a/src/wx/content_panel.cc +++ b/src/wx/content_panel.cc @@ -426,7 +426,7 @@ ContentPanel::setup () int const t = _content->GetItemCount (); bool const valid = (*i)->paths_valid (); shared_ptr<DCPContent> dcp = dynamic_pointer_cast<DCPContent> (*i); - bool const needs_kdm = !dcp->can_be_played (); + bool const needs_kdm = dcp && !dcp->can_be_played (); string s = (*i)->summary (); |
