mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
avformat/dovi_isom: Fix shadowing
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user