From: Laurent Aimar Date: Wed, 27 Aug 2008 09:42:51 +0000 (+0200) Subject: Added BLOCK_FLAG_TYPE_MASK define (helper). X-Git-Tag: 1.0.0-pre1~3808 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=daf95b3939bffea29648ef6ce1d13f2888466201;p=vlc Added BLOCK_FLAG_TYPE_MASK define (helper). --- diff --git a/include/vlc_block.h b/include/vlc_block.h index ad1f22c638..0c4623c302 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