avformat/dovi_isom: Fix shadowing

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2026-02-21 15:43:34 +01:00
parent 9c0f942293
commit 1e440f2745

View File

@@ -57,9 +57,9 @@ int ff_isom_parse_dvcc_dvvc(void *logctx, AVStream *st,
// Has enough remaining data // Has enough remaining data
if (size >= 5) { if (size >= 5) {
uint8_t buf = *buf_ptr++; uint8_t byte = *buf_ptr++;
dovi->dv_bl_signal_compatibility_id = (buf >> 4) & 0x0f; // 4 bits dovi->dv_bl_signal_compatibility_id = (byte >> 4) & 0x0f; // 4 bits
dovi->dv_md_compression = (buf >> 2) & 0x03; // 2 bits dovi->dv_md_compression = (byte >> 2) & 0x03; // 2 bits
} else { } else {
// 0 stands for None // 0 stands for None
// Dolby Vision V1.2.93 profiles and levels // Dolby Vision V1.2.93 profiles and levels