mirror of
https://gitlab.freedesktop.org/emersion/libdisplay-info.git
synced 2024-12-26 21:59:15 +01:00
edid: use the correct definition for maximum standard timings
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
This commit is contained in:
parent
40d8018a7e
commit
78b4f0eb68
1 changed files with 1 additions and 1 deletions
2
edid.c
2
edid.c
|
@ -726,7 +726,7 @@ parse_standard_timings_descriptor(struct di_edid *edid,
|
||||||
if (!parse_standard_timing(edid, timing_data, &t))
|
if (!parse_standard_timing(edid, timing_data, &t))
|
||||||
return false;
|
return false;
|
||||||
if (t) {
|
if (t) {
|
||||||
assert(desc->standard_timings_len < EDID_MAX_STANDARD_TIMING_COUNT);
|
assert(desc->standard_timings_len < EDID_MAX_DESCRIPTOR_STANDARD_TIMING_COUNT);
|
||||||
desc->standard_timings[desc->standard_timings_len++] = t;
|
desc->standard_timings[desc->standard_timings_len++] = t;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue