mirror of
https://github.com/mpv-player/mpv
synced 2024-12-19 05:15:12 +00:00
demux_mkv: Fix "max_cll" warning.
On some platforms, unsigned long and uint64_t aren't the same type, after all. As this is just a MP_VERBOSE message, risking truncation in some cases seems OK.
This commit is contained in:
parent
f001b47cb8
commit
cad313beff
@ -571,7 +571,8 @@ static void parse_trackcolour(struct demuxer *demuxer, struct mkv_track *track,
|
||||
}
|
||||
if (colour->n_max_cll) {
|
||||
track->color.sig_peak = colour->max_cll / MP_REF_WHITE;
|
||||
MP_VERBOSE(demuxer, "| + MaxCLL: %lu\n", colour->max_cll);
|
||||
MP_VERBOSE(demuxer, "| + MaxCLL: %lu\n",
|
||||
(unsigned long)colour->max_cll);
|
||||
}
|
||||
// if MaxCLL is unavailable, try falling back to the mastering metadata
|
||||
if (!track->color.sig_peak && colour->n_mastering_metadata) {
|
||||
|
Loading…
Reference in New Issue
Block a user