mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibMedia: Make Matroska's get_element_id_size function static
...to silence a warning.
This commit is contained in:
parent
180f2a07f1
commit
f899d49e18
Notes:
github-actions[bot]
2025-11-21 10:04:15 +00:00
Author: https://github.com/Zaggy1024
Commit: f899d49e18
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6685
Reviewed-by: https://github.com/gmta ✅
1 changed files with 1 additions and 1 deletions
|
|
@ -586,7 +586,7 @@ DecoderErrorOr<size_t> Reader::track_count()
|
|||
return m_tracks.size();
|
||||
}
|
||||
|
||||
constexpr size_t get_element_id_size(u32 element_id)
|
||||
static constexpr size_t get_element_id_size(u32 element_id)
|
||||
{
|
||||
return sizeof(element_id) - (count_leading_zeroes(element_id) / 8);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue