[vlc-devel] commit: Added BLOCK_FLAG_TYPE_MASK define (helper). (Laurent Aimar )

git version control git at videolan.org
Wed Aug 27 19:11:06 CEST 2008


vlc | branch: 0.9-bugfix | Laurent Aimar <fenrir at videolan.org> | Wed Aug 27 11:42:51 2008 +0200| [7a587985889e5a2784bc3aed1996b05d1db954d8] | committer: Jean-Baptiste Kempf 

Added BLOCK_FLAG_TYPE_MASK define (helper).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7a587985889e5a2784bc3aed1996b05d1db954d8
---

 include/vlc_block.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/vlc_block.h b/include/vlc_block.h
index a17530e..af3b224 100644
--- a/include/vlc_block.h
+++ b/include/vlc_block.h
@@ -79,6 +79,9 @@ typedef struct block_sys_t block_sys_t;
 /** This block is corrupted and/or there is data loss  */
 #define BLOCK_FLAG_CORRUPTED     0x1000
 
+#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
 




More information about the vlc-devel mailing list