summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/mpeg2dec_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mpegplayer/mpeg2dec_config.h')
-rw-r--r--apps/plugins/mpegplayer/mpeg2dec_config.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/mpeg2dec_config.h b/apps/plugins/mpegplayer/mpeg2dec_config.h
index b8ad116..dff19e6 100644
--- a/apps/plugins/mpegplayer/mpeg2dec_config.h
+++ b/apps/plugins/mpegplayer/mpeg2dec_config.h
@@ -1,2 +1,15 @@
+/* $Id$ */
+#ifndef MPEG2DEC_CONFIG_H
+#define MPEG2DEC_CONFIG_H
+
#define ATTRIBUTE_ALIGNED_MAX 16
+#ifdef HAVE_LCD_COLOR
+#define MPEG2_COLOR 1
+#define MPEG2_COMPONENTS 3
+#else
+#define MPEG2_COLOR 0
+#define MPEG2_COMPONENTS 1
+#endif
+
+#endif /* MPEG2DEC_CONFIG_H */