X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcinema_sound_processor.cc;h=367cea81eed4a88e745f48fd3bcab959fe1a92bf;hb=c898fa989be0e0a3e09367ace693fac8c3120ad2;hp=6a79051145e81e33ff998cacf1f4f7e21cb6c7d7;hpb=2d24bc7aaed800415bce4fffe06f261d5e9e464a;p=dcpomatic.git diff --git a/src/lib/cinema_sound_processor.cc b/src/lib/cinema_sound_processor.cc index 6a7905114..367cea81e 100644 --- a/src/lib/cinema_sound_processor.cc +++ b/src/lib/cinema_sound_processor.cc @@ -21,10 +21,11 @@ * @brief CinemaSoundProcessor class. */ -#include -#include #include "cinema_sound_processor.h" #include "dolby_cp750.h" +#include "dcpomatic_assert.h" +#include +#include using namespace std; @@ -98,6 +99,6 @@ CinemaSoundProcessor::as_index (CinemaSoundProcessor const * s) CinemaSoundProcessor const * CinemaSoundProcessor::from_index (int i) { - assert (i <= int(_cinema_sound_processors.size ())); + DCPOMATIC_ASSERT (i <= int(_cinema_sound_processors.size ())); return _cinema_sound_processors[i]; }