summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2012-03-25 18:41:53 +0000
committerphintuka <phintuka>2012-03-25 18:41:53 +0000
commit4f3f283a752fab203448575ed5ecd019282647d6 (patch)
tree8cce86aefe860874a4db9b456db1fa5695a7a275
parent4d9f60da2d059abd50d4ced450d8786c9bd6ae16 (diff)
downloadxineliboutput-4f3f283a752fab203448575ed5ecd019282647d6.tar.gz
xineliboutput-4f3f283a752fab203448575ed5ecd019282647d6.tar.bz2
Added build-time check for correct metronom_t size
-rw-r--r--xine/xvdr_metronom.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/xine/xvdr_metronom.h b/xine/xvdr_metronom.h
index 37ad3c2e..f60299c9 100644
--- a/xine/xvdr_metronom.h
+++ b/xine/xvdr_metronom.h
@@ -4,13 +4,18 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xvdr_metronom.h,v 1.12 2012-03-23 18:47:38 phintuka Exp $
+ * $Id: xvdr_metronom.h,v 1.13 2012-03-25 18:41:53 phintuka Exp $
*
*/
#ifndef XVDR_METRONOM_H
#define XVDR_METRONOM_H
+#include <xine/metronom.h>
+
+#ifdef METRONOM_INTERNAL
+# error METRONOM_INTERNAL defined, struct xvdr_metronom_s size will be incorrect
+#endif
#define XVDR_METRONOM_OPTION_BASE 0x1001
#define XVDR_METRONOM_LAST_VO_PTS (XVDR_METRONOM_OPTION_BASE)