cta: Fix name of InfoFrame private base

Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
This commit is contained in:
Sebastian Wick 2024-06-11 14:54:48 +02:00 committed by Sebastian Wick
parent d013195750
commit 9ed2eeedee
2 changed files with 4 additions and 4 deletions

6
cta.c
View file

@ -1378,8 +1378,8 @@ parse_infoframe_block(struct di_edid_cta *cta,
return false;
}
ifb->block.num_simultaneous_vsifs = data[1] + 1;
ifb->block.infoframes = (const struct di_cta_infoframe_descriptor *const *)ifb->infoframes;
ifb->base.num_simultaneous_vsifs = data[1] + 1;
ifb->base.infoframes = (const struct di_cta_infoframe_descriptor *const *)ifb->infoframes;
index = get_bit_range(data[0], 7, 5) + 2;
if (get_bit_range(data[0], 4, 0) != 0)
@ -2099,7 +2099,7 @@ di_cta_data_block_get_infoframe(const struct di_cta_data_block *block)
if (block->tag != DI_CTA_DATA_BLOCK_INFOFRAME) {
return NULL;
}
return &block->infoframe.block;
return &block->infoframe.base;
}
const struct di_cta_speaker_location_block *

View file

@ -165,7 +165,7 @@ struct di_cta_hdmi_audio_block_priv {
};
struct di_cta_infoframe_block_priv {
struct di_cta_infoframe_block block;
struct di_cta_infoframe_block base;
/* NULL-terminated */
struct di_cta_infoframe_descriptor *infoframes[EDID_CTA_INFOFRAME_BLOCK_ENTRIES + 1];
size_t infoframes_len;