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

git version control git at videolan.org
Wed Aug 27 12:09:49 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Aug 27 11:42:51 2008 +0200| [daf95b3939bffea29648ef6ce1d13f2888466201] | committer: Laurent Aimar 

Added BLOCK_FLAG_TYPE_MASK define (helper).

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

 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 ad1f22c..0c4623c 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