decoder/wavpack: use [[gnu::pure]]

This commit is contained in:
Max Kellermann 2022-07-11 22:11:33 +02:00
parent a6619e9a13
commit 329c448d30

View File

@ -78,7 +78,7 @@ WavpackOpenInput(const WavpackStreamReader64 &reader, void *wv_id, void *wvc_id,
return wpc;
}
gcc_pure
[[gnu::pure]]
static SignedSongTime
GetDuration(WavpackContext *wpc) noexcept
{