summaryrefslogtreecommitdiff
path: root/src/lib/audio_point.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-09-11 22:29:28 +0100
committerCarl Hetherington <cth@carlh.net>2015-09-11 22:29:28 +0100
commitb9842263a402b5ce1d2f85a1346ca11a419f816e (patch)
treea7d143006ec15cd216f7df5d448b1b28b7ef9ad7 /src/lib/audio_point.h
parent9a2dca23967ff404dab1a36ec3fb9075d5e8e66e (diff)
Fix assertion failure when processors return fewer channels than the DCP has.
Diffstat (limited to 'src/lib/audio_point.h')
-rw-r--r--src/lib/audio_point.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/audio_point.h b/src/lib/audio_point.h
index f699233cb..de8538ebe 100644
--- a/src/lib/audio_point.h
+++ b/src/lib/audio_point.h
@@ -17,6 +17,9 @@
*/
+#ifndef DCPOMATIC_AUDIO_POINT_H
+#define DCPOMATIC_AUDIO_POINT_H
+
#include <libcxml/cxml.h>
namespace xmlpp {
@@ -46,3 +49,5 @@ public:
private:
float _data[COUNT];
};
+
+#endif