[libbluray-devel] [PATCH 1/4] The flags field of an ICB Tag is an Uint16 (ECMA 167 4/14.6).

Petri Hintukainen phintuka at users.sourceforge.net
Wed May 31 10:09:41 CEST 2017


ti, 2017-05-30 kello 14:00 +0200, Andreas Zelend kirjoitti:
> From: ace20022 <ace20022 at ymail.com>
> 
> ---
>  src/ecma167.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/ecma167.h b/src/ecma167.h
> index f507893..00235cf 100644
> --- a/src/ecma167.h
> +++ b/src/ecma167.h
> @@ -212,7 +212,7 @@ struct file_entry {
>      uint64_t       length;         /* in bytes */
>      uint8_t        file_type;      /* ECMA_FT_* */
>      uint8_t        content_inline; /* 1 if file data is embedded in
> file entry */
> -    uint8_t        icb_flags;      /* used when parsing allocation
> extents */
> +    uint16_t       icb_flags;      /* used when parsing allocation
> extents */
>  
>      uint32_t       num_ad;
>      union {

Maybe the variable could be renamed instead. It is not used for all icb
flags, just for AD type (3 lowest bits of flags).




More information about the libbluray-devel mailing list