tag/Rva2: make struct id3_tag pointers const

This commit is contained in:
Max Kellermann 2018-10-19 19:41:59 +02:00
parent a2cd66ed6f
commit 86dc621086
2 changed files with 4 additions and 2 deletions

View File

@ -133,7 +133,8 @@ rva2_apply_frame(ReplayGainInfo &replay_gain_info,
} }
bool 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; bool found = false;

View File

@ -32,6 +32,7 @@ struct ReplayGainInfo;
* @return true on success * @return true on success
*/ */
bool 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 #endif