tag/Rva2: make struct id3_tag pointers `const`
This commit is contained in:
parent
a2cd66ed6f
commit
86dc621086
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue