Commit 86dc6210 authored by Max Kellermann's avatar Max Kellermann

tag/Rva2: make struct id3_tag pointers `const`

parent a2cd66ed
......@@ -133,7 +133,8 @@ rva2_apply_frame(ReplayGainInfo &replay_gain_info,
}
bool
tag_rva2_parse(struct id3_tag *tag, ReplayGainInfo &replay_gain_info)
tag_rva2_parse(const struct id3_tag *tag,
ReplayGainInfo &replay_gain_info) noexcept
{
bool found = false;
......
......@@ -32,6 +32,7 @@ struct ReplayGainInfo;
* @return true on success
*/
bool
tag_rva2_parse(id3_tag *tag, ReplayGainInfo &replay_gain_info);
tag_rva2_parse(const struct id3_tag *tag,
ReplayGainInfo &replay_gain_info) noexcept;
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment