[vlc-devel] commit: Reserved a few space in block_t flags for input core. ( Laurent Aimar )
git version control
git at videolan.org
Thu Sep 18 22:00:38 CEST 2008
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu Sep 18 21:23:42 2008 +0200| [aad0acf828fce1f4ff42f44958b3a6e52fb703d9] | committer: Laurent Aimar
Reserved a few space in block_t flags for input core.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=aad0acf828fce1f4ff42f44958b3a6e52fb703d9
---
include/vlc_block.h | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/include/vlc_block.h b/include/vlc_block.h
index 5ce9ab4..2721633 100644
--- a/include/vlc_block.h
+++ b/include/vlc_block.h
@@ -82,8 +82,13 @@ typedef struct block_sys_t block_sys_t;
#define BLOCK_FLAG_TYPE_MASK \
(BLOCK_FLAG_TYPE_I|BLOCK_FLAG_TYPE_P|BLOCK_FLAG_TYPE_B|BLOCK_FLAG_TYPE_PB)
-#define BLOCK_FLAG_PRIVATE_MASK 0xffff0000
-#define BLOCK_FLAG_PRIVATE_SHIFT 16
+/* These are for input core private usage only */
+#define BLOCK_FLAG_CORE_PRIVATE_MASK 0x00ff0000
+#define BLOCK_FLAG_CORE_PRIVATE_SHIFT 16
+
+/* These are for module private usage only */
+#define BLOCK_FLAG_PRIVATE_MASK 0xff000000
+#define BLOCK_FLAG_PRIVATE_SHIFT 24
typedef void (*block_free_t) (block_t *);
More information about the vlc-devel
mailing list