summaryrefslogtreecommitdiff
path: root/src/wx/video_panel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/video_panel.cc')
-rw-r--r--src/wx/video_panel.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc
index 716c29dda..cdd2eb5de 100644
--- a/src/wx/video_panel.cc
+++ b/src/wx/video_panel.cc
@@ -48,8 +48,8 @@ static VideoContentScale
index_to_scale (int n)
{
vector<VideoContentScale> scales = VideoContentScale::all ();
- assert (n >= 0);
- assert (n < int (scales.size ()));
+ DCPOMATIC_ASSERT (n >= 0);
+ DCPOMATIC_ASSERT (n < int (scales.size ()));
return scales[n];
}
@@ -63,7 +63,7 @@ scale_to_index (VideoContentScale scale)
}
}
- assert (false);
+ DCPOMATIC_ASSERT (false);
}
VideoPanel::VideoPanel (ContentPanel* p)