[client] nal: corrections to parsing logic

This commit is contained in:
Geoffrey McRae
2018-01-06 13:40:31 +11:00
parent 859e984827
commit 8ccce5666c
2 changed files with 31 additions and 24 deletions

View File

@@ -230,10 +230,8 @@ NAL_RPL_REORDER;
typedef struct NAL_PW_TABLE_L
{
uint8_t luma_weight_flag;
int32_t luma_weight;
int32_t luma_offset;
uint8_t chroma_weight_flag;
int32_t chroma_weight[2];
int32_t chroma_offset[2];
}
@@ -243,6 +241,8 @@ typedef struct NAL_PW_TABLE
{
uint32_t luma_log2_weight_denom;
uint32_t chroma_log2_weight_denom;
uint8_t luma_weight_flag[2];
uint8_t chroma_weight_flag[2];
NAL_PW_TABLE_L * l0;
NAL_PW_TABLE_L * l1;
}